Udostępnij przez


Metoda DataProvider.GetInt32

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 GetInt32 ( _
    i As Integer _
) As Integer
'Użycie
Dim instance As DataProvider
Dim i As Integer
Dim returnValue As Integer

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

Parametry

Wartość zwracana

Typ: System.Int32
Wartość określona kolumna.

Implementacje

IDataRecord.GetInt32(Int32)