Sdílet prostřednictvím


MetadataStore Class

When overridden, represents a metadata store and provides methods to obtain a replica metadata object. The replica metadata object is used to access the metadata for a specific replica. This is the abstract base class for all metadata stores that use the metadata storage service API.

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

Syntax

'Declaration
Public MustInherit Class MetadataStore
'Usage
Dim instance As MetadataStore
public abstract class MetadataStore
public ref class MetadataStore abstract
public abstract class MetadataStore
public abstract class MetadataStore

Remarks

This class provides a high-level abstraction of a metadata store. The class provides methods to create or get a ReplicaMetadata object that can be used to access the actual metadata for a replica. It also provides methods for starting and stopping transactions on the metadata store.

Notes to Inheritors: When you inherit from MetadataStore, you must override all of its members.

Inheritance Hierarchy

System.Object
  Microsoft.Synchronization.MetadataStorage.MetadataStore
     Microsoft.Synchronization.MetadataStorage.SqlMetadataStore

Thread Safety

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

See Also

Reference

MetadataStore Members
Microsoft.Synchronization.MetadataStorage Namespace

Other Resources

Getting Started Storing Metadata