Поделиться через


Метод AdomdDataReader.GetTimeSpan

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

Пространство имен:  Microsoft.AnalysisServices.AdomdServer
Сборка:  msmgdsrv (в msmgdsrv.dll)

Синтаксис

'Декларация
Public Function GetTimeSpan ( _
    index As Integer _
) As TimeSpan
'Применение
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

Параметры

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

Возвращаемое значение

Тип: System.TimeSpan
A TimeSpan that contains the value from the specified column.

См. также

Справочник

AdomdDataReader Класс

Пространство имен Microsoft.AnalysisServices.AdomdServer