Udostępnij za pośrednictwem


SimpleSyncServices.DeserializeReplicaMetadata Method

Deserializes the contents of a canonical metadata file to a metadata storage service store.

Namespace: Microsoft.Synchronization.SimpleProviders
Assembly: Microsoft.Synchronization.SimpleProviders (in microsoft.synchronization.simpleproviders.dll)

Syntax

'Declaration
Public Sub DeserializeReplicaMetadata ( _
    filePath As String, _
    providerVersion As Short _
)
'Usage
Dim instance As SimpleSyncServices
Dim filePath As String
Dim providerVersion As Short

instance.DeserializeReplicaMetadata(filePath, providerVersion)
public void DeserializeReplicaMetadata (
    string filePath,
    short providerVersion
)
public:
void DeserializeReplicaMetadata (
    String^ filePath, 
    short providerVersion
)
public void DeserializeReplicaMetadata (
    String filePath, 
    short providerVersion
)
public function DeserializeReplicaMetadata (
    filePath : String, 
    providerVersion : short
)

Parameters

  • filePath
    The file that contains the serialized metadata.
  • providerVersion
    The version number for the simple provider.

Exceptions

Exception type Condition

ProviderVersionMismatchException

The provider version does not match the version stored in the metadata store.

See Also

Reference

SimpleSyncServices Class
SimpleSyncServices Members
Microsoft.Synchronization.SimpleProviders Namespace