Any suggestions? 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)

public bool IsPrimaryKey { get; set; }

Property Value

Type: System.Boolean

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

Return to top
Show:
© 2016 Microsoft