SetSqlInt16 Method (Int32, SqlInt16) (ITypedSetters Interface)
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. 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)
Sub SetInt16(ByVal ordinal As Integer, ByVal value As Int16)
void SetInt16 (int ordinal, Int16 value);
Parameters
Parameter | Description |
---|---|
ordinal |
The zero-based parameter ordinal. |
value |
The value for the specified parameter. |
Version Information
.NET Framework
Supported in: 2.0