Bewerken

Share via


MetaTable.HasPrimaryKey Property

Definition

Gets a value that indicates whether the table has a primary key.

public:
 property bool HasPrimaryKey { bool get(); };
public bool HasPrimaryKey { get; }
member this.HasPrimaryKey : bool
Public ReadOnly Property HasPrimaryKey As Boolean

Property Value

true if the table has a primary key; otherwise, false.

Applies to