Freigeben über


DataProvider.GetDateTime-Methode

Returns data for the specified column with the given type. Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur.

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

Syntax

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

Parameter

Rückgabewert

Typ: System.DateTime
Data for a specified column with the given type.

Implementiert

IDataRecord.GetDateTime(Int32)

Siehe auch

Verweis

DataProvider Klasse

Microsoft.SqlServer.Management.Sdk.Sfc-Namespace