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