IDatabaseOptions.AnsiNullDefault 속성

Gets or sets a Boolean property value that specifies whether the ANSI_NULL_DEFAULT database option is active.

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

구문

‘선언
<DisplayNameKeyAttribute("Database_AnsiNullDefaultName")> _
<DisplayDescriptionKeyAttribute("Database_AnsiNullDefaultDesc")> _
Property AnsiNullDefault As Boolean 
    Get 
    Set
‘사용 방법
Dim instance As IDatabaseOptions 
Dim value As Boolean 

value = instance.AnsiNullDefault

instance.AnsiNullDefault = value
[DisplayNameKeyAttribute("Database_AnsiNullDefaultName")]
[DisplayDescriptionKeyAttribute("Database_AnsiNullDefaultDesc")]
bool AnsiNullDefault { get; set; }
[DisplayNameKeyAttribute(L"Database_AnsiNullDefaultName")]
[DisplayDescriptionKeyAttribute(L"Database_AnsiNullDefaultDesc")]
property bool AnsiNullDefault {
    bool get ();
    void set (bool value);
}
[<DisplayNameKeyAttribute("Database_AnsiNullDefaultName")>]
[<DisplayDescriptionKeyAttribute("Database_AnsiNullDefaultDesc")>]
abstract AnsiNullDefault : bool with get, set
function get AnsiNullDefault () : boolean 
function set AnsiNullDefault (value : boolean)

속성 값

유형: System.Boolean
A Boolean value that specifies whether the ANSI_NULL_DEFAULT database option is active.If True, user-defined data types default to allowing NULL values.If False (default), user-defined data types default to not allowing NULL values.

주의

This option lets the user control the database default nullability at a database level.

Transact-SQL ALTER DATABASE 문을 사용하여 이 옵션을 변경할 수도 있습니다.

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

참고 항목

참조

IDatabaseOptions 인터페이스

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

관련 자료

속성 설정

데이터베이스 옵션