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


Метод GetTimeSpan

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

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

Синтаксис

'Декларация
Public Function GetTimeSpan ( _
    ordinal As Integer _
) As TimeSpan
'Применение
Dim instance As AdomdDataReader
Dim ordinal As Integer
Dim returnValue As TimeSpan

returnValue = instance.GetTimeSpan(ordinal)
public TimeSpan GetTimeSpan(
    int ordinal
)
public:
TimeSpan GetTimeSpan(
    int ordinal
)
member GetTimeSpan : 
        ordinal:int -> TimeSpan 
public function GetTimeSpan(
    ordinal : int
) : TimeSpan

Параметры

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

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