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.
System.Object
Microsoft.Synchronization.MetadataStorage.MetadataStore
Microsoft.Synchronization.MetadataStorage.SqlMetadataStore
Microsoft.Synchronization.MetadataStorage.MetadataStore
Microsoft.Synchronization.MetadataStorage.SqlMetadataStore
Assembly: Microsoft.Synchronization.MetadataStorage (in Microsoft.Synchronization.MetadataStorage.dll)
The MetadataStore type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | BeginTransaction | When overridden in a derived class, starts an explicit transaction on the metadata store that has the specified isolation level. |
![]() | CommitTransaction | When overridden in a derived class, commits an explicit transaction that has already started on the metadata store. |
![]() | Equals | (Inherited from Object.) |
![]() | Finalize | (Inherited from Object.) |
![]() | GetHashCode | (Inherited from Object.) |
![]() | GetReplicaMetadata | When overridden in a derived class, gets the ReplicaMetadata object that represents the metadata for a particular replica. |
![]() | GetSingleReplicaMetadata | When overridden in a derived class, gets the metadata for the single replica contained in the metadata store. |
![]() | GetType | (Inherited from Object.) |
![]() | InitializeReplicaMetadata | When overridden in a derived class, creates, initializes, and saves new metadata for a replica. |
![]() | IsTransactionActive | When overridden in a derived class, indicates whether an active transaction exists on the metadata store. |
![]() | MemberwiseClone | (Inherited from Object.) |
![]() | RemoveReplicaMetadata | When overridden in a derived class, removes all metadata associated with the specified replica. |
![]() | RollbackTransaction | Cancels the current explicit transaction and rolls the metadata store back to the state it was in before the transaction was started. |
![]() | ToString | (Inherited from Object.) |
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 InheritorsWhen you inherit from MetadataStore, you must override all of its members.
Show:
