TraceReader.IsDBNull Method

Specifies whether the specified column is set to null.

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

Syntax

'Declaration
Public Function IsDBNull ( _
    ordinal As Integer _
) As Boolean
'Usage
Dim instance As TraceReader 
Dim ordinal As Integer 
Dim returnValue As Boolean 

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

Parameters

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

Return Value

Type: System.Boolean
A Boolean value that specifies whether the specified column is set to null.If True, the value is null.If False, the is not null.

Implements

IDataRecord.IsDBNull(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