Поделиться через


Метод AdomdDataReader.GetDateTime

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

Пространство имен:  Microsoft.AnalysisServices.AdomdClient
Сборка:  Microsoft.AnalysisServices.AdomdClient (в Microsoft.AnalysisServices.AdomdClient.dll)

Синтаксис

'Декларация
Public Function GetDateTime ( _
    ordinal As Integer _
) As DateTime
'Применение
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

Параметры

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

Возвращаемое значение

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

Реализует

IDataRecord.GetDateTime(Int32)

См. также

Справочник

AdomdDataReader Класс

Пространство имен Microsoft.AnalysisServices.AdomdClient