Read Method (SmiEventSink, Char[], Int32, Int32) (SmiStream Class)
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Reads a sequence of bytes from the current stream and advances the position within the stream by the number of bytes read. The assembly that contains this class has a friend relationship with SQLAccess.dll. It is intended for use by SQL Server. For other databases, use the hosting mechanism provided by that database.
Namespace: Microsoft.SqlServer.Server
Assembly: System.Data (in System.Data.dll)
MustOverride Function Read(ByVal sink As SmiEventSink, ByVal buffer As Char(), ByVal offset As Integer, ByVal count As Integer) As Integer
abstract int Read (SmiEventSink sink, Char[] buffer, int offset, int count);
Parameters
Parameter |
Description |
|---|---|
sink |
The SmiEventSink object to be used for event callbacks from the server. |
buffer |
The array to copy data into from the stream. |
offset |
The position within the array for which to begin writing. |
count |
The number of characters to read from the stream. |
Return Value
The actual number of characters read.
Version Information
.NET Framework
Supported in: 2.0