Udostępnij przez


Metoda AdomdDataReader.GetTimeSpan

Pobiera TimeSpan zawiera wartości z określonej kolumna.

Przestrzeń nazw:  Microsoft.AnalysisServices.AdomdServer
Zestaw:  msmgdsrv (w msmgdsrv.dll)

Składnia

'Deklaracja
Public Function GetTimeSpan ( _
    index As Integer _
) As TimeSpan
'Użycie
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

Parametry

Wartość zwracana

Typ: System.TimeSpan
A TimeSpan zawiera wartości z określonej kolumna.