다음을 통해 공유


UserDefinedDataType.Nullable 속성

Gets or sets the Boolean property value that specifies whether the user-defined data type accepts null values or not.

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

구문

‘선언
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.ReadOnlyAfterCreation Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.SqlAzureDatabase Or SfcPropertyFlags.Design)> _
Public Property Nullable As Boolean 
    Get 
    Set
‘사용 방법
Dim instance As UserDefinedDataType 
Dim value As Boolean 

value = instance.Nullable

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

속성 값

유형: System.Boolean
A Boolean value that specifies whether the user-defined data type accepts null values.If True, the user-defined data type accepts null values.If False (default), the user-defined data type does not accept null values.

데이터 형식 사용

참고 항목

참조

UserDefinedDataType 클래스

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

관련 자료

데이터 형식(데이터베이스 엔진)

CREATE TYPE(Transact-SQL)