IsPrimaryKey Property (Column)
In This Topic
Gets a value indicating whether the column is part of the primary key for the table.
Syntax
'Declaration
Public ReadOnly Property IsPrimaryKey As Boolean
public bool IsPrimaryKey {get;}
Property Value
A
System.Boolean value that is
true
if the column is a primary key; otherwise,
false
.
See Also