Share via


AdomdDataReader.GetTimeSpan Method

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

Parameters

Return Value

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