Condividi tramite


AllowInteractiveResolver Property

Questa caratteristica verrà rimossa a partire da una delle prossime versioni di Microsoft SQL Server. Evitare di utilizzare questa funzionalità in un nuovo progetto di sviluppo e prevedere interventi di modifica nelle applicazioni in cui è attualmente implementata.

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

Sintassi

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);

Osservazioni

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.

[!NOTA]

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: