UniqueConstraint.IsPrimaryKey-Eigenschaft

Ruft ab oder legt fest, ob es sich bei der Einschränkung sowohl um eine eindeutige als auch um eine Primärschlüsseleinschränkung handelt.

Namespace:  Microsoft.Data.Schema.ScriptDom.Sql
Assembly:  Microsoft.Data.Schema.ScriptDom.Sql (in Microsoft.Data.Schema.ScriptDom.Sql.dll)

Syntax

'Declaration
Public Property IsPrimaryKey As Boolean
    Get
    Set
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)

Eigenschaftswert

Typ: System.Boolean

.NET Framework-Sicherheit

Siehe auch

Referenz

UniqueConstraint Klasse

Microsoft.Data.Schema.ScriptDom.Sql-Namespace