共用方式為


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: