Freigeben über


AdomdDataReader.GetTimeSpan-Methode

Gets a TimeSpan that contains the value from the specified column.

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

Syntax

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

returnValue = instance.GetTimeSpan(index)
public TimeSpan GetTimeSpan(
    int index
)
public:
virtual TimeSpan GetTimeSpan(
    int index
) sealed
abstract GetTimeSpan : 
        index:int -> TimeSpan  
override GetTimeSpan : 
        index:int -> TimeSpan
public final function GetTimeSpan(
    index : int
) : TimeSpan

Parameter

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

Rückgabewert

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

Siehe auch

Verweis

AdomdDataReader Klasse

Microsoft.AnalysisServices.AdomdServer-Namespace