HeterogeneousTable.HasPrimaryKey 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得或設定資料表是否有主鍵。
public:
property bool HasPrimaryKey { bool get(); void set(bool value); };
public bool HasPrimaryKey { get; set; }
member this.HasPrimaryKey : bool with get, set
Public Property HasPrimaryKey As Boolean
屬性值
一個 Boolean 值。
如果 是真的,表上就定義了一個主鍵。
若 為錯誤,則不存在主鍵。
備註
此命名空間、類別或成員僅支援於 Microsoft .NET 框架 2.0 版本。