Share via


HeterogeneousColumn.IsPrimaryKey Property

Definition

Sets or gets whether there is a primary key constraint defined on the column.

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

Property Value

A Boolean value.

If true, there is a primary key constraint defined on the column.

If false, there is no primary key.

Remarks

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

Applies to