AdomdDataReader.GetTimeSpan 메서드

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

네임스페이스:  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

매개 변수

  • ordinal
    유형: System.Int32
    The zero-based ordinal position of the column to be retrieved.

반환 값

유형: System.TimeSpan
A TimeSpan object that contains the value of the specified column.

참고 항목

참조

AdomdDataReader 클래스

Microsoft.AnalysisServices.AdomdClient 네임스페이스