다음을 통해 공유


IdentityRangeManagementOption Enumeration

Enumerates options for managing identity column range assignments in tables published using merge replication and transactional replication with updating Subscribers.

네임스페이스: Microsoft.SqlServer.Replication
어셈블리: Microsoft.SqlServer.Rmo (in microsoft.sqlserver.rmo.dll)

구문

‘선언
Public Enumeration IdentityRangeManagementOption
public enum IdentityRangeManagementOption
public enum class IdentityRangeManagementOption
public enum IdentityRangeManagementOption
public enum IdentityRangeManagementOption

Members

Member name Description
Automatic Identity columns are marked as NOT FOR REPLICATION, and replication automatically assigns identity ranges.
Manual Identity columns are marked as NOT FOR REPLICATION, but replication does not assign identity ranges.
None Identity columns are replicated to the Subscriber as the base data type.

주의

Identity range management is supported for both merge and transactional replication with updating Subscribers.

You should use Automatic whenever possible.

Automatic identity range management behavior is set by specifying PublisherIdentityRangeSize, SubscriberIdentityRangeSize, and IdentityRangeThreshold.

Manual is only used for snapshot and transactional replication without updates at the Subscriber, peer-to-peer transactional replication, or if your application must control identity ranges programmatically. With this option, you must ensure that ranges are assigned to the Publisher and each Subscriber, and that new ranges are assigned if the initial ranges are used.

None is only recommended for indexed views and for backwards compatibility with earlier versions of Microsoft SQL Server.

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

플랫폼

개발 플랫폼

지원되는 플랫폼 목록은 SQL Server 2005 설치를 위한 하드웨어 및 소프트웨어 요구 사항을 참조하십시오.

대상 플랫폼

지원되는 플랫폼 목록은 SQL Server 2005 설치를 위한 하드웨어 및 소프트웨어 요구 사항을 참조하십시오.

참고 항목

참조

Microsoft.SqlServer.Replication Namespace
Article.IdentityRangeManagementOption Property

관련 자료

NOT FOR REPLICATION으로 제약 조건, ID 및 트리거 제어
ID 열 복제