다음을 통해 공유


ServerDdlTrigger.AnsiNullsStatus 속성

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

네임스페이스:  Microsoft.SqlServer.Management.Smo
어셈블리:  Microsoft.SqlServer.Smo(Microsoft.SqlServer.Smo.dll)

구문

‘선언
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property AnsiNullsStatus As Boolean 
    Get 
    Set
‘사용 방법
Dim instance As ServerDdlTrigger 
Dim value As Boolean 

value = instance.AnsiNullsStatus

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

속성 값

유형: 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 equates to False.If False (default), ISO NULL handling is disabled and comparisons to null values equates 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 non-null values in column_name

트리거 생성, 변경 및 제거

참고 항목

참조

ServerDdlTrigger 클래스

Microsoft.SqlServer.Management.Smo 네임스페이스

관련 자료

DDL 트리거

CREATE TRIGGER(Transact-SQL)