HeterogeneousColumn.IsPrimaryKey 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
集合或获取列上是否定义了主键约束。
public:
property bool IsPrimaryKey { bool get(); void set(bool value); };
public bool IsPrimaryKey { get; set; }
member this.IsPrimaryKey : bool with get, set
Public Property IsPrimaryKey As Boolean
属性值
一个Boolean值。
如果 成立,则该列定义了主键约束。
如果 不成立,则没有主键。
注解
该命名空间、类或成员仅在Microsoft .NET框架2.0版本中支持。