Udostępnij przez


Metoda DataProvider.GetDateTime

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

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

Parametry

Wartość zwracana

Typ: System.DateTime
Dane dla określonej kolumna z danego typu.

Implementacje

IDataRecord.GetDateTime(Int32)