Udostępnij za pośrednictwem


AdomdDataReader.GetTimeSpan Method

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

Namespace: Microsoft.AnalysisServices.AdomdClient
Assembly: Microsoft.AnalysisServices.AdomdClient (in microsoft.analysisservices.adomdclient.dll)

Syntax

'Declaration
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

Parameters

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

Return Value

A TimeSpan that contains the value of the specified column.

Thread Safety

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.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

AdomdDataReader Class
AdomdDataReader Members
Microsoft.AnalysisServices.AdomdClient Namespace