Compartir a través de


AnsiNullsStatus Propiedad

Gets the Boolean property value that specifies whether ISO NULL handling is enabled on the view.

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

Sintaxis

'Declaración
<SfcPropertyAttribute> _
Public Property AnsiNullsStatus As Boolean
    Get
    Set
'Uso
Dim instance As View
Dim value As Boolean

value = instance.AnsiNullsStatus

instance.AnsiNullsStatus = value
[SfcPropertyAttribute]
public bool AnsiNullsStatus { get; set; }
[SfcPropertyAttribute]
public:
virtual property bool AnsiNullsStatus {
    bool get () sealed;
    void set (bool value) sealed;
}
[<SfcPropertyAttribute>]
abstract AnsiNullsStatus : bool with get, set
[<SfcPropertyAttribute>]
override AnsiNullsStatus : bool with get, set
final function get AnsiNullsStatus () : boolean
final function set AnsiNullsStatus (value : boolean)

Valor de la propiedad

Tipo: System. . :: . .Boolean
A Boolean value that specifies the whether the ISO NULL handing is enabled or not.
If True, comparisons to null values equate to false.
If False (default), comparisons to null values equate to true.

Implementa

IViewOptions. . :: . .AnsiNullsStatus

Notas

This property specifies whether any comparison to a null value equates to a NULL value. For example, A SELECT statement using WHERE column_name <> NULL returns zero rows even if there are non-null values in column_name.