Propriedade do RDL UniqueConstraintDefinition.IsPrimaryKey
Gets or sets whether the constraint is both unique and a primary key.
Namespace: Microsoft.SqlServer.TransactSql.ScriptDom
Assembly: Microsoft.SqlServer.TransactSql.ScriptDom (em Microsoft.SqlServer.TransactSql.ScriptDom.dll)
Sintaxe
'Declaração
Public Property IsPrimaryKey As Boolean
Get
Set
'Uso
Dim instance As UniqueConstraintDefinition
Dim value As Boolean
value = instance.IsPrimaryKey
instance.IsPrimaryKey = value
public bool IsPrimaryKey { get; set; }
public:
property bool IsPrimaryKey {
bool get ();
void set (bool value);
}
member IsPrimaryKey : bool with get, set
function get IsPrimaryKey () : boolean
function set IsPrimaryKey (value : boolean)
Valor da propriedade
Tipo: System.Boolean
True if the constraint is both unique and a primary key; otherwise, false.