Sync Framework Core Components

Microsoft Sync Framework core components can be used from an unmanaged language, such as C++, to perform synchronization. These components can be used to manage metadata and to create synchronization providers and applications. Conceptually, the core components can be grouped into the following categories: metadata services components, provider components, application components, and error codes.

Metadata Services Components

The following components help a provider process synchronization metadata:

ID_PARAMETER_PAIR Structure

IEnumSingleItemExceptions Interface

ID_PARAMETERS Structure

IEnumSyncChanges Interface

SYNC_GID Structure

IEnumSyncChangeUnits Interface

SYNC_ID Structure

IForgottenKnowledge Interface

SYNC_RANGE Structure

IKnowledgeBuilder Interface

SYNC_VERSION Structure

IRangeException Interface

SYNC_RESOLVE_ACTION Enumeration

IRecoverableError Interface

SYNC_CHANGE_FLAG Flags

IRecoverableErrorData Interface

IChangeConflict Interface

IReplicaKeyMap Interface

IChangeUnitException Interface

ISingleItemException Interface

IClockVector Interface

ISyncChange Interface

IClockVectorElement Interface

ISyncChangeBatch Interface

IClockVectorServices Interface

ISyncChangeBatchBase Interface

IDestinationChangeVersionsBuilder Interface

ISyncChangeBuilder Interface

IEnumChangeUnitExceptions Interface

ISyncChangeUnit Interface

IEnumClockVector Interface

ISyncFullEnumerationChangeBatch Interface

IEnumRangeExceptions Interface

ISyncKnowledge Interface

Provider Components

The following components enable a provider to interact with Sync Framework to perform synchronization on behalf of a replica:

SYNC_PROVIDER_ROLE Enumeration

IProviderFilteredSyncServices Interface

SYNC_SAVE_ACTION Enumeration

IProviderSyncServices Interface

SYNC_FILTER_INFO_FLAG Flags

ISaveChangeContext Interface

IAsynchronousDataRetriever Interface

ISaveChangeWithChangeUnitsContext Interface

IAsynchronousNotifyingChangeApplier Interface

ISyncFilterInfo Interface

IAsynchronousNotifyingChangeApplierTarget Interface

ISynchronousDataRetriever Interface

IAsynchronousNotifyingChangeApplierTargetCallback Interface

ISynchronousNotifyingChangeApplier Interface

IDataRetrieverCallback Interface

ISynchronousNotifyingChangeApplierTarget Interface

IKnowledgeSyncProvider Interface

ISyncProvider Interface

ILoadChangeContext Interface

Application Components

The following components enable an application to start a synchronization session and connect providers to perform synchronization:

SYNC_SESSION_STATISTICS Structure

IApplicationSyncServices Interface

CONFLICT_RESOLUTION_POLICY Enumeration

ISyncCallback Interface

SYNC_FULL_ENUMERATION_ACTION Enumeration

ISyncSession Interface

SYNC_PROGRESS_STAGE Enumeration

ISyncSessionState Interface

Error Codes

Sync Framework uses a set of custom errors to report problems. For more information, see Sync Framework Error Codes.

See Also

Reference

Microsoft.Synchronization

Concepts

Sync Framework Unmanaged Reference
Sync Framework Overview
Fundamentals of Data Synchronization
Metadata Management
Synchronization Providers
Synchronization Applications

Other Resources

Microsoft Sync Framework