UserDefinedDataType.AllowIdentity プロパティ

ID プロパティで定義されている列でユーザー定義データ型を使用できるかどうかを示す Boolean プロパティの値を取得します。

名前空間:  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
ID プロパティで定義されている列でユーザー定義データ型を使用できるかどうかを示す Boolean 値。True の場合は、ユーザー定義データ型を ID 列で使用できます。False (既定値) の場合は、ユーザー定義データ型を ID 列で使用できません。

使用例

データ型の処理

関連項目

参照

UserDefinedDataType クラス

Microsoft.SqlServer.Management.Smo 名前空間

その他の技術情報

データ型 (データベース エンジン)

CREATE TYPE (Transact-SQL)