다음을 통해 공유


AllowIdentity 속성

Gets the Boolean property value that specifies whether the user-defined data type is able to participate in a column defined with the identity property.

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

구문

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

value = instance.AllowIdentity
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase)]
public bool AllowIdentity { get; }
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::Standalone|SfcPropertyFlags::SqlAzureDatabase)]
public:
property bool AllowIdentity {
    bool get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase)>]
member AllowIdentity : bool
function get AllowIdentity () : boolean

속성 값

유형: System. . :: . .Boolean
A Boolean value that specifies whether the user-defined data type can participate in a column defined with the identity property.
If True, the user-defined data type can participate in an identity column.
If False (default), the user-defined data type cannot participate in an identity column.