Partager via


Propriété InPrimaryKey

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

Espace de noms :  Microsoft.SqlServer.Management.SqlParser.Metadata
Assembly :  Microsoft.SqlServer.Management.SqlParser (en Microsoft.SqlServer.Management.SqlParser.dll)

Syntaxe

'Déclaration
Property InPrimaryKey As Boolean
    Get
    Set
'Utilisation
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)

Valeur de propriété

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

Implémente

IColumn. . :: . .InPrimaryKey