GetLength Method (SmiEventSink) (SmiStream Class)
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Returns the current length of the buffer for the stream. 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 GetLength(ByVal sink As SmiEventSink) As Long
abstract long GetLength (SmiEventSink sink);
Parameters
Parameter |
Description |
|---|---|
sink |
The SmiEventSink object to be used for event callbacks from the server. |
Return Value
The length of the data in the result.
Version Information
.NET Framework
Supported in: 2.0