Compartir a través de


InPrimaryKey Propiedad

Gets or sets 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
Property InPrimaryKey As Boolean
    Get
    Set
'Uso
Dim instance As IMutableColumn
Dim value As Boolean

value = instance.InPrimaryKey

instance.InPrimaryKey = value
bool InPrimaryKey { get; set; }
property bool InPrimaryKey {
    bool get ();
    void set (bool value);
}
abstract InPrimaryKey : bool with get, set
function get InPrimaryKey () : boolean
function set InPrimaryKey (value : 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.

Implementa

IColumn. . :: . .InPrimaryKey