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
参数
- index
类型:System.Int32
The zero-based ordinal position of the column to be retrieved.
返回值
类型:System.TimeSpan
A TimeSpan that contains the value from the specified column.