Freigeben über


EnabledForSyncMgr Property

Diese Funktion wird in zukünftigen Versionen von Microsoft SQL Server nicht mehr bereitgestellt. Verwenden Sie diese Funktion beim Entwickeln neuer Anwendungen nicht, und planen Sie das Ändern von Anwendungen, in denen es zurzeit verwendet wird.

The EnabledForSyncMgr property configures the referenced subscription for the mobile synchronization agent.

Syntax

object.EnabledForSyncMgr [=value ]

Parts

  • object
    An expression that evaluates to an object in the Applies To list

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