共用方式為


HeterogeneousTable.HasPrimaryKey Property

Definition

Gets or sets whether the table has a primary key.

public:
 property bool HasPrimaryKey { bool get(); void set(bool value); };
public bool HasPrimaryKey { get; set; }
member this.HasPrimaryKey : bool with get, set
Public Property HasPrimaryKey As Boolean

Property Value

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.

Applies to