Olvasás angol nyelven

Megosztás a következőn keresztül:


HeterogeneousTable.HasPrimaryKey Property

Gets or sets whether the table has a primary key.

Namespace:  Microsoft.SqlServer.Replication
Assembly:  Microsoft.SqlServer.Rmo (in Microsoft.SqlServer.Rmo.dll)

Syntax

public bool HasPrimaryKey { get; set; }

Property Value

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

Remarks

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