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: System.Boolean

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

Return to top
Show: