Método GetTimeSpan
Returns a TimeSpan that contains the value from the specified column.
Namespace: Microsoft.AnalysisServices.AdomdClient
Assembly: Microsoft.AnalysisServices.AdomdClient (em Microsoft.AnalysisServices.AdomdClient.dll)
Sintaxe
'Declaração
Public Function GetTimeSpan ( _
ordinal As Integer _
) As TimeSpan
'Uso
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
Parâmetros
- ordinal
Tipo: System. . :: . .Int32
The zero-based ordinal position of the column to be retrieved.
Valor de retorno
Tipo: System. . :: . .TimeSpan
A TimeSpan that contains the value of the specified column.