AllowInteractiveResolver Property

后续版本的 Microsoft SQL Server 将删除该功能。 请避免在新的开发工作中使用该功能,并着手修改当前还在使用该功能的应用程序。

The AllowInteractiveResolverproperty specifies whether to allow subscriptions to invoke an interactive resolver when conflicts occur while data is being synchronized with an article.

语法

object.AllowInteractiveResolver [= value]

Parts

  • object
    An expression that evaluates to an object in the Applies To list

  • value
    A Boolean that specifies whether to allow subscriptions to use an interactive resolver

Data Type

Boolean

Modifiable

Read/write

Prototype (C/C++)

HRESULT GetAllowInteractiveResolver(LPBOOL pRetVal);
HRESULT SetAllowInteractiveResolver(BOOL NewValue);

注释

Set the AllowInteractiveResolver property to TRUE to enable a subscription to use an interactive resolver to resolve conflicts while synchronizing with a merge article. If a custom resolver is specified using the ArticleResolver property, that custom resolver is invoked by the Microsoft Interactive Conflict Resolver. If ArticleResolver is not set, the default Microsoft SQL Server conflict resolver is used.

MergePullSubscription2 or MergeSubscription2 objects must also have the UseInteractiveResolver property set to TRUE.

注意注意

If an application calls AllowInteractiveResolveron an instance of SQL Server version 7.0, the constant, SQLDMO_E_SQL80ONLY, and the message "This property or method requires Microsoft SQL Server 2000 or later" are returned.

Applies To: