TraceReader.GetBoolean Method

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

Parameters

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

Return Value

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

Implements

IDataRecord.GetBoolean(Int32)

Examples

Readme_Tracer

See Also

Reference

TraceReader Class

Microsoft.SqlServer.Management.Trace Namespace

Other Resources

Trace Flags (Transact-SQL)

SQL Server Profiler Templates and Permissions