Skip to content

Latest commit

 

History

History
49 lines (35 loc) · 1.41 KB

File metadata and controls

49 lines (35 loc) · 1.41 KB
title getBinaryStream Method (long, long) | Microsoft Docs
ms.custom
ms.date 01/19/2017
ms.prod sql
ms.prod_service connectivity
ms.reviewer
ms.technology connectivity
ms.topic conceptual
ms.assetid 30bc8882-04b4-4efd-95e4-7d3a2a8c1d47
author David-Engel
ms.author v-daenge

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