SimpleSyncServices::SerializeReplicaMetadata Method
Serializes the contents of a metadata storage service store to a destination file in a canonical format.
Assembly: Microsoft.Synchronization.SimpleProviders (in Microsoft.Synchronization.SimpleProviders.dll)
public: void SerializeReplicaMetadata( String^ filePath, CompatibilityLevel compatibilityLevel )
Parameters
- filePath
- Type: System::String
Serializes the contents of a metadata storage service store to a destination file in a canonical format.
- compatibilityLevel
- Type: Microsoft.Synchronization::CompatibilityLevel
A CompatibilityLevel enumeration value that specifies which version of Sync Framework the serialized metadata is compatible with.
| Exception | Condition |
|---|---|
| ArgumentNullException | filePath is a nullptr. |
| ArgumentOutOfRangeException | compatibilityLevel is SyncFrameworkVersion2. |
Show: