次の方法で共有


ColumnDefinition.IsIdentity プロパティ

この列が ID 列であるかどうかを取得または設定します。

名前空間 :  Microsoft.Data.Schema.ScriptDom.Sql
アセンブリ :  Microsoft.Data.Schema.ScriptDom.Sql (Microsoft.Data.Schema.ScriptDom.Sql.dll 内)

構文

'宣言
Public Property IsIdentity As Boolean
'使用
Dim instance As ColumnDefinition
Dim value As Boolean

value = instance.IsIdentity

instance.IsIdentity = value
public bool IsIdentity { get; set; }
public:
property bool IsIdentity {
    bool get ();
    void set (bool value);
}
public function get IsIdentity () : boolean
public function set IsIdentity (value : boolean)

プロパティ値

型 : System.Boolean
ID 列である場合は TRUE を返します。それ以外の場合は FALSE を返します。

参照

参照

ColumnDefinition クラス

ColumnDefinition メンバ

Microsoft.Data.Schema.ScriptDom.Sql 名前空間