EnabledForSyncMgr Property
后续版本的 Microsoft SQL Server 将删除该功能。请避免在新的开发工作中使用该功能,并着手修改当前还在使用该功能的应用程序。
The EnabledForSyncMgr property configures the referenced subscription for the mobile synchronization agent.
语法
object
.EnabledForSyncMgr [=value ]
Parts
object
An expression that evaluates to an object in the Applies To listvalue
TRUE or FALSE
Data Type
Boolean
Modifiable
Read/write for the MergePullSubscription and TransPullSubscription object.
For the MergeSubscription and TransSubscription object, the EnabledForSyncMgr property is write-only and can be set only when the object is used to create a new subscription.
Prototype (C/C++)
HRESULT GetEnabledForSyncMgr(LPBOOL pRetVal);
HRESULT SetEnabledForSyncMgr(BOOL NewValue);