Share via


ISyncDataConverter Interface

When implemented, converts data between two providers that synchronize the same type of data, such as contacts information, but transfer that data in a different format. If the providers retrieve data by using an interface other than ISynchronousDataRetriever or IAsynchronousDataRetriever, you must also supply an implementation for data retriever conversion.

Syntax

interface ISyncDataConverter : IUnknown

Members

ISyncDataConverter method

Description

ISyncDataConverter::ConvertDataRetrieverFromProviderFormat

Converts the data retriever from the associated provider’s format to the required data retriever format. This method is required only if one or both of the providers in a synchronization session retrieves data by using an interface that does not implement ISynchronousDataRetriever or IAsynchronousDataRetriever.

ISyncDataConverter::ConvertDataRetrieverToProviderFormat

Converts the data retriever from an external format to the associated provider’s data retriever format. This method is required only if one or both of the providers in a synchronization session retrieves data by using an interface that does not implement ISynchronousDataRetriever or IAsynchronousDataRetriever.

ISyncDataConverter::ConvertDataFromProviderFormat

Converts data from a provider’s transfer format to the required output format. The output format can be another provider's transfer format or an intermediate format that is used by a synchronization community.

ISyncDataConverter::ConvertDataToProviderFormat

Converts data from an external format to a provider’s transfer format. The external format can be another provider's transfer format or an intermediate format that is used by a synchronization community.

Requirements

Header: synchronization.h

See Also

Concepts

Converting Data Between Providers

Sync Framework Core Components