Compartir a través de


TraceReader.GetDataTypeName Método

Gets the data 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 GetDataTypeName ( _
    ordinal As Integer _
) As String
'Uso
Dim instance As TraceReader 
Dim ordinal As Integer 
Dim returnValue As String 

returnValue = instance.GetDataTypeName(ordinal)
public string GetDataTypeName(
    int ordinal
)
public:
virtual String^ GetDataTypeName(
    int ordinal
) sealed
abstract GetDataTypeName : 
        ordinal:int -> string  
override GetDataTypeName : 
        ordinal:int -> string
public final function GetDataTypeName(
    ordinal : int
) : String

Parámetros

  • ordinal
    Tipo: System.Int32
    An Int32 value that specifies the column position of the data.

Valor devuelto

Tipo: System.String
A String value that represents the data at the specified column position.

Implementa

IDataRecord.GetDataTypeName(Int32)

Ejemplos

Readme_Tracer

Vea también

Referencia

TraceReader Clase

Espacio de nombres Microsoft.SqlServer.Management.Trace

Otros recursos

Marcas de seguimiento (Transact-SQL)

Plantillas y permisos de SQL Server Profiler