Freigeben über


AdomdDataReader.GetTimeSpan-Methode

Gets the value of the specified column as a TimeSpan object.

Namespace:  Microsoft.AnalysisServices.AdomdClient
Assembly:  Microsoft.AnalysisServices.AdomdClient (in Microsoft.AnalysisServices.AdomdClient.dll)

Syntax

'Declaration
Public Function GetTimeSpan ( _
    ordinal As Integer _
) As TimeSpan
'Usage
Dim instance As AdomdDataReader 
Dim ordinal As Integer 
Dim returnValue As TimeSpan 

returnValue = instance.GetTimeSpan(ordinal)
public TimeSpan GetTimeSpan(
    int ordinal
)
public:
TimeSpan GetTimeSpan(
    int ordinal
)
member GetTimeSpan : 
        ordinal:int -> TimeSpan
public function GetTimeSpan(
    ordinal : int
) : TimeSpan

Parameter

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

Rückgabewert

Typ: System.TimeSpan
A TimeSpan object that contains the value of the specified column.

Siehe auch

Verweis

AdomdDataReader Klasse

Microsoft.AnalysisServices.AdomdClient-Namespace