Share via


DataProvider.GetInt16 Method

Returns data for the specified column with the given type. Do not reference this member directly in your code. It supports the SQL Server infrastructure.

Namespace:  Microsoft.SqlServer.Management.Sdk.Sfc
Assembly:  Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Syntax

'Declaration
Public Function GetInt16 ( _
    i As Integer _
) As Short
'Usage
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

Parameters

Return Value

Type: System.Int16
The value of the specified column.

Implements

IDataRecord.GetInt16(Int32)