Gets a value indicating whether the constraint is on a primary key column.
[Visual Basic] Overridable Public ReadOnly Property IsPrimaryKey As Boolean [C#] public bool IsPrimaryKey {virtual get;} [C++] public: __property virtual bool get_IsPrimaryKey(); [JScript] public function get IsPrimaryKey() : Boolean;
true, if the columns is a primary key; otherwise, false.
Constraint Class | Constraint Members | System.Data Namespace