Udostępnij za pośrednictwem


Właściwość HeterogeneousColumn.IsPrimaryKey

Ustawia lub pobiera czy istnieje klucz podstawowy ograniczenie zdefiniowane kolumna.

Przestrzeń nazw:  Microsoft.SqlServer.Replication
Zestaw:  Microsoft.SqlServer.Rmo (w Microsoft.SqlServer.Rmo.dll)

Składnia

'Deklaracja
Public Property IsPrimaryKey As Boolean
    Get
    Set
'Użycie
Dim instance As HeterogeneousColumn
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)

Wartość właściwości

Typ: System.Boolean
A Boolean wartości.
Jeśli true, jest zdefiniowany kolumna ograniczenia na klucz podstawowy.
Jeśli false, klucz podstawowy nie istnieje.

Uwagi

Ten obszar nazw, klasy lub element członkowski jest obsługiwany tylko w wersja 2.0 Microsoft .NET Framework.