Nota:
El acceso a esta página requiere autorización. Puede intentar iniciar sesión o cambiar directorios.
El acceso a esta página requiere autorización. Puede intentar cambiar los directorios.
Returns the field type 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 GetFieldType ( _
ordinal As Integer _
) As Type
'Uso
Dim instance As TraceReader
Dim ordinal As Integer
Dim returnValue As Type
returnValue = instance.GetFieldType(ordinal)
public Type GetFieldType(
int ordinal
)
public:
virtual Type^ GetFieldType(
int ordinal
) sealed
abstract GetFieldType :
ordinal:int -> Type
override GetFieldType :
ordinal:int -> Type
public final function GetFieldType(
ordinal : int
) : Type
Parámetros
- ordinal
Tipo: System.Int32
An Int32 value that specifies the column position of the data.
Valor devuelto
Tipo: System.Type
A Type system object value that specifies the field type of the data value.
Implementa
IDataRecord.GetFieldType(Int32)
Comentarios
The value returned corresponds to the type of Object value that is returned from GetValue method.
Ejemplos
Vea también
Referencia
Espacio de nombres Microsoft.SqlServer.Management.Trace