SqlSyncMetadataStoreSerializer Class

SQL Server 2008 R2

Serializes and deserializes metadata for a replica between a canonical metadata file format and version-specific metadata storage service store formats.

Namespace: Microsoft.Synchronization.MetadataStorage
Assembly: Microsoft.Synchronization.MetadataStorage (in microsoft.synchronization.metadatastorage.dll)

public class SqlSyncMetadataStoreSerializer : SyncMetadataStoreSerializer
public class SqlSyncMetadataStoreSerializer extends SyncMetadataStoreSerializer
public class SqlSyncMetadataStoreSerializer extends SyncMetadataStoreSerializer

Serialization of the metadata file to a canonical format by using the SyncMetadataStoreSerializer methods can be used to interoperate among components of differing versions. For more information, see Accessing Metadata from Components with Different Versions.

Serialization of the metadata file to a canonical format by using the SyncMetadataStoreSerializer methods can be used to upgrade the metadata store when the provider version changes. For more information, see Upgrading the Metadata Store Version.

The SyncMetadataStoreSerializer class has the following behaviors regarding concurrent serialization and deserialization operations for a metadata store:

  • Concurrent operations for a single replica's metadata are not supported, regardless of whether operations are executed in different processes or on different threads in the same process.

  • Concurrent serialization and deserialization operations for a metadata store are supported only if each operation affects a different replica's metadata and each operation is performed over a different connection.

Serialization and deserialization operations are not supported while a replica is synchronizing.

System.Object
   Microsoft.Synchronization.MetadataStorage.SyncMetadataStoreSerializer
    Microsoft.Synchronization.MetadataStorage.SqlSyncMetadataStoreSerializer

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show: