Compartir a través de


ServerDdlTrigger.AnsiNullsStatus Property

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

Espacio de nombres: Microsoft.SqlServer.Management.Smo
Ensamblado: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

Sintaxis

'Declaración
Public Property AnsiNullsStatus As Boolean
public bool AnsiNullsStatus { get; set; }
public:
property bool AnsiNullsStatus {
    bool get ();
    void set (bool value);
}
/** @property */
public boolean get_AnsiNullsStatus ()

/** @property */
public void set_AnsiNullsStatus (boolean value)
public function get AnsiNullsStatus () : boolean

public function set AnsiNullsStatus (value : boolean)

Valor de propiedad

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

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

Este espacio de nombres, clase o miembro solamente se admite en la versión 2.0 de Microsoft .NET Framework.

Ejemplo

How to: Create, Alter, and Remove a Trigger in Visual Basic .NET

Seguridad para subprocesos

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Plataformas

Plataformas de desarrollo

Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.

Plataformas de destino

Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.

Vea también

Referencia

ServerDdlTrigger Class
ServerDdlTrigger Members
Microsoft.SqlServer.Management.Smo Namespace

Otros recursos

Creating, Altering, and Removing Triggers
Desencadenadores DDL
CREATE TRIGGER (Transact-SQL)