Partager via


IsDBNull méthode

Specifies whether the specified column is set to null.

Espace de noms :  Microsoft.SqlServer.Management.Trace
Assembly :  Microsoft.SqlServer.ConnectionInfoExtended (dans Microsoft.SqlServer.ConnectionInfoExtended.dll)

Syntaxe

'Déclaration
Public Function IsDBNull ( _
    ordinal As Integer _
) As Boolean
'Utilisation
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

Paramètres

Valeur de retour

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.

Implémente

IDataRecord. . :: . .IsDBNull(Int32)

Exemples

Readme_Tracer