Propriété InPrimaryKey
Gets 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
ReadOnly Property InPrimaryKey As Boolean
Get
'Utilisation
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
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.
Voir aussi