Método TraceReader.GetInt32

Gets an integer value of the data value at the specified column position.

Namespace:  Microsoft.SqlServer.Management.Trace
Assembly:  Microsoft.SqlServer.ConnectionInfoExtended (em Microsoft.SqlServer.ConnectionInfoExtended.dll)

Sintaxe

'Declaração
Public Function GetInt32 ( _
    ordinal As Integer _
) As Integer
'Uso
Dim instance As TraceReader 
Dim ordinal As Integer 
Dim returnValue As Integer 

returnValue = instance.GetInt32(ordinal)
public int GetInt32(
    int ordinal
)
public:
virtual int GetInt32(
    int ordinal
) sealed
abstract GetInt32 : 
        ordinal:int -> int  
override GetInt32 : 
        ordinal:int -> int
public final function GetInt32(
    ordinal : int
) : int

Parâmetros

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

Valor de retorno

Tipo: System.Int32
An Int32 value that represents the data at the specified column position.

Implementa

IDataRecord.GetInt32(Int32)

Exemplos

Readme_Tracer

Consulte também

Referência

TraceReader Classe

Namespace Microsoft.SqlServer.Management.Trace

Outros recursos

Sinalizadores de rastreamento (Transact-SQL)

Modelos e permissões do SQL Server Profiler