IColumn.InPrimaryKey Property
Gets a value that indicates whether the column is included in the definition of a PRIMARY KEY or UNIQUE constraint.
Namespace: Microsoft.SqlServer.Management.SqlParser.Metadata
Assembly: Microsoft.SqlServer.Management.SqlParser (in Microsoft.SqlServer.Management.SqlParser.dll)
Syntax
'Declaration
ReadOnly Property InPrimaryKey As Boolean
Get
'Usage
Dim instance As IColumn
Dim value As Boolean
value = instance.InPrimaryKey
bool InPrimaryKey { get; }
property bool InPrimaryKey {
bool get ();
}
abstract InPrimaryKey : bool
function get InPrimaryKey () : boolean
Property Value
Type: System.Boolean
true if the column is included in the definition of a PRIMARY KEY or UNIQUE constraint; otherwise, false.