UniqueConstraintDefinition::IsPrimaryKey Property

 

Gets or sets whether the constraint is both unique and a primary key.

Namespace:   Microsoft.SqlServer.TransactSql.ScriptDom
Assembly:  Microsoft.SqlServer.TransactSql.ScriptDom (in Microsoft.SqlServer.TransactSql.ScriptDom.dll)

public:
property bool IsPrimaryKey {
	bool get();
	void set(bool value);
}

Property Value

Type: System::Boolean

True if the constraint is both unique and a primary key; otherwise, false.

Return to top
Show: