다음을 통해 공유


GetTimeSpan 메서드

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

네임스페이스:  Microsoft.AnalysisServices.AdomdClient
어셈블리:  Microsoft.AnalysisServices.AdomdClient.dll의 Microsoft.AnalysisServices.AdomdClient

구문

‘선언
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.