GetTimeSpan Método
Gets a TimeSpan value of the data value at the specified column position.
Espacio de nombres: Microsoft.SqlServer.Management.Trace
Ensamblado: Microsoft.SqlServer.ConnectionInfoExtended (en Microsoft.SqlServer.ConnectionInfoExtended.dll)
Sintaxis
'Declaración
Public Function GetTimeSpan ( _
ordinal As Integer _
) As TimeSpan
'Uso
Dim instance As TraceReader
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
Valor devuelto
Tipo: System. . :: . .TimeSpan
A TimeSpan system value that represents the data at the specified column position.
Vea también