SyncMetadataStoreSerializer::SerializeReplicaMetadata Method
When overridden in a derived class, serializes, for the specified replica, the contents of a metadata storage service store to a destination file.
Assembly: Microsoft.Synchronization.MetadataStorage (in Microsoft.Synchronization.MetadataStorage.dll)
public: virtual void SerializeReplicaMetadata( SyncIdFormatGroup^ idFormats, SyncId^ replicaId, String^ serializedFilePath, CompatibilityLevel compatibilityLevel ) abstract
Parameters
- idFormats
- Type: Microsoft.Synchronization::SyncIdFormatGroup
The ID format schema of the provider.
- replicaId
- Type: Microsoft.Synchronization::SyncId
The ID of the replica for which metadata should be serialized.
- serializedFilePath
- Type: System::String
The destination file to which metadata is serialized.
- compatibilityLevel
- Type: Microsoft.Synchronization::CompatibilityLevel
A CompatibilityLevel value that specifies for which version of Sync Framework the serialized metadata is valid. For example, if the native knowledge serialization format is Sync Framework 2.x, but the value provided for this parameter is Sync Framework 1.0, knowledge values are serialized in the 1.0 format. If knowledge values use any 2.x features that cannot be serialized in the 1.0 format, serialization throws an InvalidSerializationVersionException exception.
Show: