Свойство HeterogeneousTable.HasPrimaryKey

Gets or sets whether the table has a primary key.

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

Синтаксис

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

value = instance.HasPrimaryKey

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

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

Тип: System.Boolean
A Boolean value.If true, there is a primary key defined on the table.If false, there is no primary key.

Замечания

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

См. также

Справочник

HeterogeneousTable Класс

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