Compartilhar via


Propriedade do RDL DatabaseDdlTrigger.AnsiNullsStatus

Gets or sets the Boolean property value that specifies whether ISO NULL handling is enabled in the data definition language (DDL) trigger.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)

Sintaxe

'Declaração
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.SqlAzureDatabase)> _
Public Property AnsiNullsStatus As Boolean 
    Get 
    Set
'Uso
Dim instance As DatabaseDdlTrigger 
Dim value As Boolean 

value = instance.AnsiNullsStatus

instance.AnsiNullsStatus = value
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase)]
public bool AnsiNullsStatus { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::Standalone|SfcPropertyFlags::SqlAzureDatabase)]
public:
property bool AnsiNullsStatus {
    bool get ();
    void set (bool value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase)>]
member AnsiNullsStatus : bool with get, set
function get AnsiNullsStatus () : boolean 
function set AnsiNullsStatus (value : boolean)

Valor da propriedade

Tipo: System.Boolean
A Boolean value that specifies whether ISO NULL handling is enabled in the DDL trigger. ISO NULL handling requires that any comparison to a NULL value equates to a NULL value.If True, ISO NULL handling is enabled and comparisons to null values equate to False.If False (default), ISO NULL handling is disabled and comparisons to null values equate to True.

Comentários

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 nonnull values in column_name.

Exemplos

Definindo propriedades

Consulte também

Referência

DatabaseDdlTrigger Classe

Namespace Microsoft.SqlServer.Management.Smo

Outros recursos

CREATE TRIGGER (Transact-SQL)

Gatilhos DDL