Compartilhar via


Método GetBoolean

Returns a Boolean value from the record at the specified column position.

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

Sintaxe

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

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

Parâmetros

Valor de retorno

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

Implementa

IDataRecord. . :: . .GetBoolean(Int32)

Exemplos

Readme_Tracer