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 listvalue
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. |