SqlMetadataStore::Dispose Method
Releases the resources that are used by SqlMetadataStore.
Assembly: Microsoft.Synchronization.MetadataStorage (in Microsoft.Synchronization.MetadataStorage.dll)
The Dispose method leaves the SqlMetadataStore in an unusable state. After Dispose is called, all references to the SqlMetadataStore must be released so that the garbage collector can reclaim the memory that SqlMetadataStore was occupying.
Note |
|---|
Before the last reference to SqlMetadataStore is released, always call Dispose. Otherwise, the resources it is using will not be freed until the garbage collector calls the Finalize method of SqlMetadataStore. |
Show:
Note