Remarque
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de vous connecter ou de modifier des répertoires.
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de modifier des répertoires.
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 HasIdentityNotForReplColumn property specifies whether a table has an identity column with the NOT FOR REPLICATION option set.
Syntaxe
object.HasIdentityNotForReplColumn
Parts
- object
An expression that evaluates to an object in the Applies To list
Data Type
Boolean
Modifiable
Read-only
Prototype (C/C++)
HRESULT GetHasIdentityNotForReplColumn(LPBOOL pRelVal);
Notes
The HasIdentityNotForReplColumn property returns TRUE if a table contains an identity column with the NOT FOR REPLICATION option set.
The NOT FOR REPLICATION option is used by Microsoft SQL Server replication to implement ranges of identity values in a partitioned environment. The NOT FOR REPLICATION option is especially useful in transactional or merge replication when a published table is partitioned with rows from various sites.
Remarque : |
|---|
| HasIdentityNotForReplColumn can be used with SQL Server 2005, SQL Server 2000, and SQL Server version 7.0. |
Applies To:
|
Remarque :