InPrimaryKey Property
Cette fonctionnalité sera supprimée dans une prochaine version de Microsoft SQL Server. Évitez d'utiliser cette fonctionnalité dans de nouveaux travaux de développement et prévoyez de modifier les applications qui utilisent actuellement cette fonctionnalité.
The InPrimaryKey property exposes primary key participation for a Microsoft SQL Server column.
Syntaxe
object.InPrimaryKey
Parts
- object
An expression that evaluates to an object in the Applies To list
Data Type
Boolean
Modifiable
Read-only
Prototype (C/C++)
HRESULT GetInPrimaryKey(LPBOOL pRetVal);
Notes
If TRUE, the referenced column is part of a PRIMARY KEY or UNIQUE key constraint defined on the table.
If FALSE, the referenced column is not part of a PRIMARY KEY or UNIQUE key constraint defined on the table.