| title | SQLServerBlob Members | 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 | 90e48555-ea83-4a90-80a3-51bc685015ec |
| author | David-Engel |
| ms.author | v-daenge |
[!INCLUDEDriver_JDBC_Download]
The following tables list the members that are exposed by the SQLServerBlob class.
| Name | Description |
|---|---|
| SQLServerBlob | Initializes a new instance of the SQLServerBlob class. |
None.
None.
| Name | Description |
|---|---|
| free | This method frees the BLOB object and releases the resources that it holds. |
| getBinaryStream | Returns an input stream to read data from the BLOB. |
| getBytes | Gets the BLOB data as an array of bytes. |
| length | Returns the number of bytes in the BLOB object. |
| position | Returns the position of a specified pattern in the BLOB based on the given pattern and the starting index. |
| setBinaryStream | Retrieves a stream that can be used to write to the BLOB value. |
| setBytes | Writes the given array of bytes into the BLOB starting at the given position, and then returns the number of bytes written. |
| truncate | Truncates a BLOB given the length. |
| Class inherited from: | Methods |
|---|---|
| java.lang.Object | clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait |