Export (0) Print
Expand All

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)

member IsPrimaryKey : bool with get, set

Property Value

Type: Boolean
True if the constraint is both unique and a primary key; otherwise, false.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft