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 IsPrimaryKey As Boolean

Property Value

Type: System.Boolean

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

Return to top
Show: