Share via


AdomdDataReader.GetDateTime Method

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

Namespace:  Microsoft.AnalysisServices.AdomdServer
Assembly:  msmgdsrv (in msmgdsrv.dll)

Syntax

'Declaration
Public Function GetDateTime ( _
    i As Integer _
) As DateTime
'Usage
Dim instance As AdomdDataReader
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

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

Return Value

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

Implements

IDataRecord.GetDateTime(Int32)