Share via


HasIdentityNotForReplColumn Property

Microsoft SQL Server의 이후 버전에서는 이 기능이 제거됩니다. 새 개발 작업에서는 이 기능을 사용하지 말고, 현재 이 기능을 사용하는 응용 프로그램은 수정하십시오.

The HasIdentityNotForReplColumn property specifies whether a table has an identity column with the NOT FOR REPLICATION option set.

구문

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);

주의

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.

[!참고] HasIdentityNotForReplColumn can be used with SQL Server 2005, SQL Server 2000, and SQL Server version 7.0.

Applies To:

ReplicationTable2 Object