AdomdDataReader.GetDateTime Method (Int32)
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
public DateTime GetDateTime(
int ordinal
)
public:
virtual DateTime GetDateTime(
int ordinal
) sealed
abstract GetDateTime :
ordinal:int -> DateTime
override GetDateTime :
ordinal:int -> DateTime
Public Function GetDateTime (
ordinal As Integer
) As Date
Parameters
ordinal
Type: System.Int32The 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)
See Also
AdomdDataReader Class
Microsoft.AnalysisServices.AdomdClient Namespace
Return to top