Поделиться через


Свойство ReplicationColumn.InPrimaryKey

Gets or sets whether the column is participating in a primary key or not.

Пространство имен:  Microsoft.SqlServer.Replication
Сборка:  Microsoft.SqlServer.Rmo (в Microsoft.SqlServer.Rmo.dll)

Синтаксис

'Декларация
Public Property InPrimaryKey As Boolean 
    Get 
    Set
'Применение
Dim instance As ReplicationColumn 
Dim value As Boolean 

value = instance.InPrimaryKey

instance.InPrimaryKey = value
public bool InPrimaryKey { get; set; }
public:
property bool InPrimaryKey {
    bool get ();
    void set (bool value);
}
member InPrimaryKey : bool with get, set
function get InPrimaryKey () : boolean 
function set InPrimaryKey (value : boolean)

Значение свойства

Тип: System.Boolean
A Boolean value. If true, the referenced column is part of a primary key or unique key constraint defined on the table. If false, the referenced column is not part of a primary key or unique key constraint defined on the table.

Замечания

This namespace, class, or member is supported only in version 2.0 of the .NET Framework.

См. также

Справочник

ReplicationColumn Класс

Пространство имен Microsoft.SqlServer.Replication