语言

Article.IdentityRangeThreshold 属性

定义

获取或设定将新范围的身份列值分配给Publisher或Subscriber的值。

public:
 property int IdentityRangeThreshold { int get(); void set(int value); };
public int IdentityRangeThreshold { get; set; }
member this.IdentityRangeThreshold : int with get, set
Public Property IdentityRangeThreshold As Integer

属性值

一个 Int32 介于1到100之间的值,表示在分配新的身份值区间前必须使用总身份范围的百分比。

注解

当 是 时Automatic,必须指定一个值。IdentityRangeThresholdIdentityRangeManagementOption

IdentityRangeThreshold该属性可由固定sysadmin服务器角色的成员在Publisher和Subscriber(用于重新发布Subscribers)处检索。 该文件也可以由出版物 db_owner 数据库中固定数据库角色的成员以及PAL成员用户检索。 对于对象 MergeArticle ,该属性也可以被分发器上固定数据库角色的成员 replmonitor 检索。

IdentityRangeThreshold属性可以由 Publisher 固定服务器角色的成员sysadmin设置。 也可以由发表 db_owner 数据库中固定数据库角色的成员设置。

检索 IdentityRangeThreshold 相当于执行事务或快照复制的 sp_helparticle(Transact-SQL )或合并复制执行的 sp_helpmergearticle(Transact-SQL )。

设置 IdentityRangeThreshold 相当于执行事务或快照复制的 sp_addarticle(Transact-SQL)执行sp_changearticle(Transact-SQL ),或执行 sp_addmergearticle(Transact-SQL)sp_changemergearticle(Transact-SQL) 用于合并复制。

适用于