Compartir a través de


InPrimaryKey Propiedad

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

Espacio de nombres:  Microsoft.SqlServer.Management.SqlParser.Metadata
Ensamblado:  Microsoft.SqlServer.Management.SqlParser (en Microsoft.SqlServer.Management.SqlParser.dll)

Sintaxis

'Declaración
ReadOnly Property InPrimaryKey As Boolean
    Get
'Uso
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

Valor de la propiedad

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