Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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)
Syntax
'Declaration
Public Sub SerializeReplicaMetadata ( _
filePath As String, _
compatibilityLevel As CompatibilityLevel _
)
'Usage
Dim instance As SimpleSyncServices
Dim filePath As String
Dim compatibilityLevel As CompatibilityLevel
instance.SerializeReplicaMetadata(filePath, _
compatibilityLevel)
public void SerializeReplicaMetadata(
string filePath,
CompatibilityLevel compatibilityLevel
)
public:
void SerializeReplicaMetadata(
String^ filePath,
CompatibilityLevel compatibilityLevel
)
member SerializeReplicaMetadata :
filePath:string *
compatibilityLevel:CompatibilityLevel -> unit
public function SerializeReplicaMetadata(
filePath : String,
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.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | filePath is a null reference (Nothing in Visual Basic). |
| ArgumentOutOfRangeException | compatibilityLevel is SyncFrameworkVersion2. |