Freigeben über


AdomdDataReader.GetDateTime-Methode

Returns a DateTime that contains the value from the specified column.

Namespace:  Microsoft.AnalysisServices.AdomdClient
Assembly:  Microsoft.AnalysisServices.AdomdClient (in Microsoft.AnalysisServices.AdomdClient.dll)

Syntax

'Declaration
Public Function GetDateTime ( _
    ordinal As Integer _
) As DateTime
'Usage
Dim instance As AdomdDataReader 
Dim ordinal As Integer 
Dim returnValue As DateTime 

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

Parameter

  • ordinal
    Typ: System.Int32
    The zero-based ordinal position of the column to be retrieved.

Rückgabewert

Typ: System.DateTime
A DateTime that contains the value, converted to local system time, of the specified column.

Implementiert

IDataRecord.GetDateTime(Int32)

Siehe auch

Verweis

AdomdDataReader Klasse

Microsoft.AnalysisServices.AdomdClient-Namespace