다음을 통해 공유


GetTimeSpan 메서드

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

네임스페이스:  Microsoft.AnalysisServices.AdomdServer
어셈블리:  msmgdsrv(msmgdsrv.dll)

구문

‘선언
Public Function GetTimeSpan ( _
    index As Integer _
) As TimeSpan
‘사용 방법
Dim instance As AdomdDataReader
Dim index As Integer
Dim returnValue As TimeSpan

returnValue = instance.GetTimeSpan(index)
public TimeSpan GetTimeSpan(
    int index
)
public:
virtual TimeSpan GetTimeSpan(
    int index
) sealed
abstract GetTimeSpan : 
        index:int -> TimeSpan 
override GetTimeSpan : 
        index:int -> TimeSpan 
public final function GetTimeSpan(
    index : int
) : TimeSpan

매개 변수

반환 값

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