Свойство InPrimaryKey

Gets a value that indicates whether the column is included in the definition of a PRIMARY KEY or UNIQUE constraint.

Пространство имен:  Microsoft.SqlServer.Management.SqlParser.Metadata
Сборка:  Microsoft.SqlServer.Management.SqlParser (в Microsoft.SqlServer.Management.SqlParser.dll)

Синтаксис

'Декларация
ReadOnly Property InPrimaryKey As Boolean
    Get
'Применение
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

Значение свойства

Тип: System. . :: . .Boolean
true if the column is included in the definition of a PRIMARY KEY or UNIQUE constraint; otherwise, false.