AdomdDataReader.GetTimeSpan Método
Gets the value of the specified column as a TimeSpan object.
Espacio de nombres: Microsoft.AnalysisServices.AdomdClient
Ensamblado: Microsoft.AnalysisServices.AdomdClient (en Microsoft.AnalysisServices.AdomdClient.dll)
Sintaxis
'Declaración
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 devuelto
Tipo: System.TimeSpan
A TimeSpan object that contains the value of the specified column.