MergeArticle.AllowInteractiveResolver プロパティ
同期中に競合が発生した場合にサブスクリプションでインタラクティブ競合回避モジュールを呼び出すことができるようにするかどうかを取得します。値の設定も可能です。
名前空間: Microsoft.SqlServer.Replication
アセンブリ: Microsoft.SqlServer.Rmo (Microsoft.SqlServer.Rmo.dll)
構文
'宣言
Public Property AllowInteractiveResolver As Boolean
Get
Set
'使用
Dim instance As MergeArticle
Dim value As Boolean
value = instance.AllowInteractiveResolver
instance.AllowInteractiveResolver = value
public bool AllowInteractiveResolver { get; set; }
public:
property bool AllowInteractiveResolver {
bool get ();
void set (bool value);
}
member AllowInteractiveResolver : bool with get, set
function get AllowInteractiveResolver () : boolean
function set AllowInteractiveResolver (value : boolean)
プロパティ値
型: System.Boolean
Boolean 値です。true の場合、同期中にサブスクリプションがインタラクティブ競合回避モジュールを呼び出すことができます。false の場合、同期中にサブスクリプションがインタラクティブ競合回避モジュールを呼び出すことはできません。
説明
カスタム競合回避モジュールが ArticleResolver プロパティによって指定されている場合、そのカスタム競合回避モジュールは Microsoft インタラクティブ競合回避モジュールによって呼び出されます。 ArticleResolver プロパティが設定されていない場合は、既定の Microsoft SQL Server 競合回避モジュールが使用されます。
AllowInteractiveResolver プロパティを取得できるのは、パブリッシャー側およびサブスクライバー側 (サブスクライバーを再パブリッシュする場合) の固定サーバー ロール sysadmin のメンバーです。 また、パブリケーション データベースの固定データベース ロール db_owner のメンバー、ディストリビューター側の固定データベース ロール replmonitor のメンバー、およびパブリケーション アクセス リスト (PAL) のメンバーも取得できます。
AllowInteractiveResolver プロパティを設定できるのは、パブリッシャー側の固定サーバー ロール sysadmin のメンバーです。 また、パブリケーション データベースの固定データベース ロール db_owner のメンバーも設定できます。
AllowInteractiveResolver を取得すると、sp_helpmergearticle (Transact-SQL) を実行したのと同じことになります。
AllowInteractiveResolver を設定すると、sp_addmergearticle (Transact-SQL) または sp_changemergearticle (Transact-SQL) を実行したのと同じことになります。