Partilhar via


Método GetTimeSpan

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

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

Sintaxe

'Declaração
Public Function GetTimeSpan ( _
    index As Integer _
) As TimeSpan
'Uso
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

Parâmetros

Valor de retorno

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