Metoda DataProvider.GetInt16
Zwraca dane dla określonej kolumna z danego typu.Nie należy odwoływać się do tego elementu członkowskiego bezpośrednio w kodzie. Obsługuje on infrastrukturę programu SQL Server.
Przestrzeń nazw: Microsoft.SqlServer.Management.Sdk.Sfc
Zestaw: Microsoft.SqlServer.Management.Sdk.Sfc (w Microsoft.SqlServer.Management.Sdk.Sfc.dll)
Składnia
'Deklaracja
Public Function GetInt16 ( _
i As Integer _
) As Short
'Użycie
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
Parametry
- i
Typ: System.Int32
Numer porządkowy kolumna od zera.
Wartość zwracana
Typ: System.Int16
Wartość określona kolumna.