Compartilhar via


Método AdomdDataReader.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

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

Valor de retorno

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

Consulte também

Referência

AdomdDataReader Classe

Namespace Microsoft.AnalysisServices.AdomdServer