MetaTable.HasPrimaryKey Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
.