Condividi tramite


Proprietà InPrimaryKey

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

Spazio dei nomi  Microsoft.SqlServer.Management.SqlParser.Metadata
Assembly:  Microsoft.SqlServer.Management.SqlParser (in Microsoft.SqlServer.Management.SqlParser.dll)

Sintassi

'Dichiarazione
Property InPrimaryKey As Boolean
    Get
    Set
'Utilizzo
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)

Valore proprietà

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

Implementa

IColumn. . :: . .InPrimaryKey