Delen via


SqlMetadataStore Members

Represents a metadata store that is implemented by using a lightweight database to store the metadata.

The following tables list the members exposed by the SqlMetadataStore type.

Public Methods

(see also Protected Methods )

  Name Description
Public method BeginTransaction Overloaded. Starts an explicit transaction on the metadata store.
Public method CommitTransaction Overridden. Commits an explicit transaction that has already started on the metadata store.
Public method Cc807169.static(en-us,SQL.105).gif CreateStore Overloaded. Creates a metadata store file that has the specified name and location, and returns a metadata store object that represents it.
Public method Dispose Releases the resources that are used by SqlMetadataStore.
Public method Equals  Overloaded. (Inherited from Object.)
Public method GetHashCode  (Inherited from Object.)
Public method GetMetadataStoreSerializer Gets an object that serializes and deserializes the metadata store to and from the canonical format.
Public method GetReplicaMetadata Overridden. Gets a replica metadata object that is used to access replica metadata in the metadata store.
Public method GetSingleReplicaMetadata Overridden. Gets the metadata for the single replica contained in the metadata store.
Public method GetType  (Inherited from Object.)
Public method InitializeReplicaMetadata Overridden. Creates and initializes metadata for a replica in the metadata store, and returns a replica metadata object that is used to access the replica metadata.
Public method IsTransactionActive Overridden. Indicates whether an active transaction exists on the metadata store.
Public method Cc807169.static(en-us,SQL.105).gif OpenStore Overloaded. Opens an existing metadata store file and returns a metadata store object that represents it.
Public method Cc807169.static(en-us,SQL.105).gif ReferenceEquals  (Inherited from Object.)
Public method RemoveReplicaMetadata Overridden. Removes all metadata associated with the specified replica.
Public method RollbackTransaction Overridden. Cancels the current explicit transaction and rolls the metadata store back to the state it was in before the transaction was started.
Public method ToString  (Inherited from Object.)

Top

Protected Methods

  Name Description
Protected method Finalize Overridden. Finalizer for SqlMetadataStore.
Protected method MemberwiseClone  (Inherited from Object.)

Top

Public Events

  Name Description
Public event Cc807169.static(en-us,SQL.105).gif MetadataStoreUpgradeStart Occurs when the metadata store file format is about to be upgraded.
Public event Cc807169.static(en-us,SQL.105).gif MetadataStoreUpgradeStop Occurs when the metadata store file format upgrade has finished.

Top

See Also

Reference

SqlMetadataStore Class
Microsoft.Synchronization.MetadataStorage Namespace

Concepts

Getting Started Storing Metadata