Udostępnij przez


Metoda DataProvider.GetInt64

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

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

Parametry

Wartość zwracana

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

Implementacje

IDataRecord.GetInt64(Int32)