Write Method (SmiEventSink, Char[], Int32, Int32)

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Writes a sequence of bytes to the current stream and advances the current position within this stream by the number of bytes written. 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 Sub Write(ByVal sink As SmiEventSink, ByVal buffer As Char(), ByVal offset As Integer, ByVal count As Integer)
abstract void Write (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 write the data into.

offset

The location within the array to begin the write.

count

The number of characters to write.

Version Information

.NET Framework

Supported in: 2.0