Share via


SqlMetadataStore.GetMetadataStoreSerializer Method

Gets an object that serializes and deserializes the metadata store to and from the canonical format.

Namespace:  Microsoft.Synchronization.MetadataStorage
Assembly:  Microsoft.Synchronization.MetadataStorage (in Microsoft.Synchronization.MetadataStorage.dll)

Syntax

'Declaration
Public Function GetMetadataStoreSerializer As SyncMetadataStoreSerializer
'Usage
Dim instance As SqlMetadataStore
Dim returnValue As SyncMetadataStoreSerializer

returnValue = instance.GetMetadataStoreSerializer()
public SyncMetadataStoreSerializer GetMetadataStoreSerializer()
public:
SyncMetadataStoreSerializer^ GetMetadataStoreSerializer()
member GetMetadataStoreSerializer : unit -> SyncMetadataStoreSerializer 
public function GetMetadataStoreSerializer() : SyncMetadataStoreSerializer

Return Value

Type: Microsoft.Synchronization.MetadataStorage.SyncMetadataStoreSerializer
An object that serializes and deserializes the metadata store to and from the canonical format.

Exceptions

Exception Condition
ObjectDisposedException

This object has been disposed or was not initialized correctly.

Remarks

The canonical format can be used to interoperate among components of different versions, and to upgrade the metadata store because the provider version has changed. For more information, see Accessing Metadata from Components with Different Versions and Upgrading the Metadata Store Version.

See Also

Reference

SqlMetadataStore Class

Microsoft.Synchronization.MetadataStorage Namespace