共用方式為


ISql100TableTypeUniqueConstraint.IsPrimaryKey 屬性

取得或設定值,這個值表示此索引鍵是否為主要索引鍵。

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

語法

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

屬性值

型別:System.Boolean

.NET Framework 安全性

請參閱

參考

ISql100TableTypeUniqueConstraint 介面

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