Επεξεργασία

Κοινή χρήση μέσω


ISyncMgrHandler interface (syncmgr.h)

Exposes methods that make up the primary interface implemented by a sync handler. Sync Center creates one instance of the handler through this interface to get properties, enumerate sync items, and modify state. Sync Center creates a separate instance of the handler on a separate thread to perform a synchronization or a UI operation.

Inheritance

The ISyncMgrHandler interface inherits from the IUnknown interface. ISyncMgrHandler also has these types of members:

Methods

The ISyncMgrHandler interface has these methods.

 
ISyncMgrHandler::Activate

Requests that the handler is activated or deactivated. An active handler can be synchronized; an inactive handler cannot.
ISyncMgrHandler::Enable

Requests that an active handler be enabled or disabled. An enabled handler can be synchronized and a disabled handler cannot.
ISyncMgrHandler::GetCapabilities

Gets a set of flags describing the handler's defined capabilities.
ISyncMgrHandler::GetHandlerInfo

Gets properties that describe the handler.
ISyncMgrHandler::GetName

Gets the display name of the handler.
ISyncMgrHandler::GetObject

Creates a specific type of object related to the handler.
ISyncMgrHandler::GetPolicies

Gets a set of flags describing the policies set by the handler.
ISyncMgrHandler::Synchronize

Initiates a synchronization of a selection of the handler's sync items.

Remarks

ISyncMgrHandler replaces ISyncMgrSynchronize. Some of the earlier functionality has been streamlined, while some has been moved to other interfaces. See the individual method pages for specific information.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header syncmgr.h