Compartir a través de


GetDateTime Método

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

Espacio de nombres:  Microsoft.AnalysisServices.AdomdClient
Ensamblado:  Microsoft.AnalysisServices.AdomdClient (en Microsoft.AnalysisServices.AdomdClient.dll)

Sintaxis

'Declaración
Public Function GetDateTime ( _
    ordinal As Integer _
) As DateTime
'Uso
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

Parámetros

Valor devuelto

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

Implementa

IDataRecord. . :: . .GetDateTime(Int32)