Skip to content

Latest commit

 

History

History
46 lines (32 loc) · 1.3 KB

File metadata and controls

46 lines (32 loc) · 1.3 KB
title getBinaryStream Method (long, long)
description getBinaryStream Method (long, long)
author David-Engel
ms.author davidengel
ms.date 01/19/2017
ms.service sql
ms.subservice connectivity
ms.topic reference

getBinaryStream Method (long, long)

[!INCLUDEDriver_JDBC_Download]

Returns an input stream object that contains a partial BLOB value by using the specified starting position and the length.

Syntax

  
public java.io.InputStream getBinaryStream(long pos, long length)  

Parameters

pos

The offset to the first byte of the partial value to be retrieved.

length

The length in bytes of the partial value to be retrieved.

Return Value

An input stream that contains the BLOB data.

Exceptions

SQLServerException

Remarks

This getBinaryStream method is specified by the getBinaryStream method in the java.sql.Blob interface.

See Also

SQLServerBlob Methods
SQLServerBlob Members
SQLServerBlob Class