共用方式為


ColumnDefinition.IsIdentity 屬性

取得或設定此是否為識別資料行。

命名空間:  Microsoft.Data.Schema.ScriptDom.Sql
組件:  Microsoft.Data.Schema.ScriptDom.Sql (在 Microsoft.Data.Schema.ScriptDom.Sql.dll 中)

語法

'宣告
Public Property IsIdentity As Boolean
    Get
    Set
public bool IsIdentity { get; set; }
public:
property bool IsIdentity {
    bool get ();
    void set (bool value);
}
member IsIdentity : bool with get, set
function get IsIdentity () : boolean
function set IsIdentity (value : boolean)

屬性值

型別:System.Boolean
如果是識別資料行,會傳回 true,否則傳回 false。

.NET Framework 安全性

請參閱

參考

ColumnDefinition 類別

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