Partager via


Méthode GetDateTime

Returns data for the specified column with the given type. Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server.

Espace de noms :  Microsoft.SqlServer.Management.Sdk.Sfc
Assembly :  Microsoft.SqlServer.Management.Sdk.Sfc (en Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Syntaxe

'Déclaration
Public Function GetDateTime ( _
    i As Integer _
) As DateTime
'Utilisation
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

Paramètres

Valeur de retour

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

Implémente

IDataRecord. . :: . .GetDateTime(Int32)