AdomdDataReader.GetTimeSpan Method (Int32)

 

Gets the value of the specified column as a TimeSpan object.

Namespace:   Microsoft.AnalysisServices.AdomdClient
Assembly:  Microsoft.AnalysisServices.AdomdClient (in Microsoft.AnalysisServices.AdomdClient.dll)

Syntax

public TimeSpan GetTimeSpan(
    int ordinal
)
public:
TimeSpan GetTimeSpan(
    int ordinal
)
member GetTimeSpan : 
        ordinal:int -> TimeSpan
Public Function GetTimeSpan (
    ordinal As Integer
) As TimeSpan

Parameters

  • ordinal
    Type: System.Int32

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

Return Value

Type: System.TimeSpan

A TimeSpan object that contains the value of the specified column.

See Also

AdomdDataReader Class
Microsoft.AnalysisServices.AdomdClient Namespace

Return to top