Freigeben über


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

Parameter

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

Rückgabewert

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

Threadsicherheit

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.

Plattformen

Entwicklungsplattformen

Eine Liste der unterstützten Plattformen finden Sie unterHardware- und Softwareanforderungen für die Installation von SQL Server 2005.

Zielplattforme

Eine Liste der unterstützten Plattformen finden Sie unterHardware- und Softwareanforderungen für die Installation von SQL Server 2005.

Siehe auch

Verweis

AdomdDataReader Class
AdomdDataReader Members
Microsoft.AnalysisServices.AdomdClient Namespace