Compartir a través de


IsDBNull Método

Specifies whether the specified column is set to null.

Espacio de nombres:  Microsoft.SqlServer.Management.Trace
Ensamblado:  Microsoft.SqlServer.ConnectionInfoExtended (en Microsoft.SqlServer.ConnectionInfoExtended.dll)

Sintaxis

'Declaración
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 devuelto

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)

Ejemplos

Readme_Tracer