Condividi tramite


Metodo IsDBNull

Specifies whether the specified column is set to null.

Spazio dei nomi  Microsoft.SqlServer.Management.Trace
Assembly:  Microsoft.SqlServer.ConnectionInfoExtended (in Microsoft.SqlServer.ConnectionInfoExtended.dll)

Sintassi

'Dichiarazione
Public Function IsDBNull ( _
    ordinal As Integer _
) As Boolean
'Utilizzo
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

Parametri

Valore restituito

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)

Esempi

Readme_Tracer