Compartilhar via


Método IsDBNull

Specifies whether the specified column is set to null.

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

Sintaxe

'Declaração
Public Function IsDBNull ( _
    ordinal As Integer _
) As Boolean
'Uso
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

Parâmetros

Valor de retorno

Tipo: 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.

Implementa

IDataRecord. . :: . .IsDBNull(Int32)

Exemplos

Readme_Tracer