Freigeben über


TraceReader.GetBoolean-Methode

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

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

Syntax

'Declaration
Public Function GetBoolean ( _
    ordinal As Integer _
) As Boolean
'Usage
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

Parameter

  • ordinal
    Typ: System.Int32
    An Int32 value that specifies the column position at which to retrieve the value.

Rückgabewert

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

Implementiert

IDataRecord.GetBoolean(Int32)

Beispiele

Readme_Tracer

Siehe auch

Verweis

TraceReader Klasse

Microsoft.SqlServer.Management.Trace-Namespace

Andere Ressourcen

Ablaufverfolgungsflags (Transact-SQL)

Vorlagen und Berechtigungen in SQL Server Profiler