SimpleSyncServices::SerializeReplicaMetadata Method

Serializes the contents of a metadata storage service store to a destination file in a canonical format.

Namespace:  Microsoft.Synchronization.SimpleProviders
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.

ExceptionCondition
ArgumentNullException

filePath is a nullptr.

ArgumentOutOfRangeException

compatibilityLevel is SyncFrameworkVersion2.

Show: