Udostępnij za pośrednictwem


DataProvider.GetDateTime Method

Returns data for the specified column with the given type. Do not reference this member directly in your code. It supports the SQL Server infrastructure.

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

Parameters

Return Value

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

Implements

IDataRecord.GetDateTime(Int32)

See Also

Reference

DataProvider Class

Microsoft.SqlServer.Management.Sdk.Sfc Namespace