Compartilhar via


AdomdDataReader.GetDateTime Method

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
public DateTime GetDateTime (
    int ordinal
)
public:
virtual DateTime GetDateTime (
    int ordinal
) sealed
public final DateTime GetDateTime (
    int ordinal
)
public final function GetDateTime (
    ordinal : int
) : DateTime

Parameters

  • ordinal
    The zero-based ordinal position of the column to be retrieved.

Return Value

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

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

AdomdDataReader Class
AdomdDataReader Members
Microsoft.AnalysisServices.AdomdClient Namespace