| title | SQLServerBlob Members |
|---|---|
| description | SQLServerBlob Members |
| author | David-Engel |
| ms.author | davidengel |
| ms.date | 01/19/2017 |
| ms.service | sql |
| ms.subservice | connectivity |
| ms.topic | reference |
[!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 |