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


AdomdDataReader.GetTimeSpan Method

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

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

Синтаксис

'Декларация
Public Function GetTimeSpan ( _
    ordinal As Integer _
) As TimeSpan
public TimeSpan GetTimeSpan (
    int ordinal
)
public:
TimeSpan GetTimeSpan (
    int ordinal
)
public TimeSpan GetTimeSpan (
    int ordinal
)
public function GetTimeSpan (
    ordinal : int
) : TimeSpan

Параметры

  • ordinal
    The zero-based ordinal position of the column to be retrieved.

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

A TimeSpan that contains the value of the specified column.

Синхронизация потоков

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Платформы

Платформы разработки

Список поддерживаемых платформ см. в разделе Hardware and Software Requirements for Installing SQL Server 2005.

Целевые платформы

Список поддерживаемых платформ см. в разделе Hardware and Software Requirements for Installing SQL Server 2005.

См. также

Справочник

AdomdDataReader Class
AdomdDataReader Members
Microsoft.AnalysisServices.AdomdClient Namespace