Поделиться через


DatabaseDdlTrigger.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.

Пространство имен: Microsoft.SqlServer.Management.Smo
Сборка: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

Синтаксис

'Декларация
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)

Значение свойства

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 equate to False. If False (default), SQL-92 NULL handling is disabled and comparisons to null values equate to True.

Замечания

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.

Это пространство имен, класс или элемент поддерживаются только платформой Microsoft .NET Framework версии 2.0.

Пример

How to: Get and Set a Property in Visual Basic .NET

Синхронизация потоков

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.

Платформы

Платформы разработки

Список поддерживаемых платформ см. в разделе Hardware and Software Requirements for Installing SQL Server 2005.

Целевые платформы

Список поддерживаемых платформ см. в разделе Hardware and Software Requirements for Installing SQL Server 2005.

См. также

Справочник

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

Другие ресурсы

CREATE TRIGGER (Transact-SQL)
Триггеры DDL