Поделиться через


Метод GetInt16

Returns data for the specified column with the given type. Не ссылайтесь на этот элемент непосредственно из кода. Он поддерживает работу инфраструктуры SQL Server.

Пространство имен:  Microsoft.SqlServer.Management.Sdk.Sfc
Сборка:  Microsoft.SqlServer.Management.Sdk.Sfc (в Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Синтаксис

'Декларация
Public Function GetInt16 ( _
    i As Integer _
) As Short
'Применение
Dim instance As DataProvider
Dim i As Integer
Dim returnValue As Short

returnValue = instance.GetInt16(i)
public short GetInt16(
    int i
)
public:
virtual short GetInt16(
    int i
) sealed
abstract GetInt16 : 
        i:int -> int16 
override GetInt16 : 
        i:int -> int16 
public final function GetInt16(
    i : int
) : short

Параметры

Возвращаемое значение

Тип: System. . :: . .Int16
The value of the specified column.

Реализует

IDataRecord. . :: . .GetInt16(Int32)