SetInt16 Method (SmiEventSink, Int32, Int16)

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

Sets the data, for a parameter or column, as the specified type.  No conversions are applied. The assembly that contains this class has a friend relationship with SQLAccess.dll.  This class 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 SetInt16(ByVal sink As SmiEventSink, ByVal ordinal As Integer, ByVal value As Int16)
abstract void SetInt16 (SmiEventSink sink, int ordinal, Int16 value);





The SmiEventSink object to be used for event callbacks from the server.


The zero-based column or parameter ordinal.


The Int16 value to assign to the column or parameter.

Version Information

.NET Framework

Supported in: 2.0