语言

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

适用于