語言

ReplicationColumn.InPrimaryKey 屬性

定義

取得或設定欄位是否參與主鍵。

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 版本中被支援。

適用於