共用方式為


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.