ReplicationColumn.InPrimaryKey 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得或設定欄位是否參與主鍵。
public:
property bool InPrimaryKey { bool get(); void set(bool value); };
public bool InPrimaryKey { get; set; }
member this.InPrimaryKey : bool with get, set
Public Property InPrimaryKey As Boolean
屬性值
一個 Boolean 值。 若 true,則該參考欄位是表上定義的主鍵或唯一鍵限制的一部分。 若 false,則該參考欄位不屬於表格中定義的主鍵或唯一鍵限制。
備註
此命名空間、類別或成員僅在 .NET 框架 2.0 版本中被支援。