Share via


WorkspacePersistedMetadataTables Class

Disposable object which causes the cached copies of the local metadata tables to be strongly rooted in the garbage collector's object graph, if the attached workspace is a local workspace (WorkspaceLocation.Local).

Inheritance Hierarchy

System.Object
  Microsoft.TeamFoundation.VersionControl.Client.WorkspacePersistedMetadataTables

Namespace:  Microsoft.TeamFoundation.VersionControl.Client
Assembly:  Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)

Syntax

'Declaration
Public NotInheritable Class WorkspacePersistedMetadataTables _
    Implements IDisposable
public sealed class WorkspacePersistedMetadataTables : IDisposable
public ref class WorkspacePersistedMetadataTables sealed : IDisposable
[<Sealed>]
type WorkspacePersistedMetadataTables =  
    class 
        interface IDisposable 
    end
public final class WorkspacePersistedMetadataTables implements IDisposable

The WorkspacePersistedMetadataTables type exposes the following members.

Constructors

  Name Description
Public method WorkspacePersistedMetadataTables Until this object is disposed, the cached copies of the local metadata tables on the attached workspace will be strongly rooted in the garbage collector's object graph.

Top

Methods

  Name Description
Public method Dispose Releases the resources used by the instance of WorkspacePersistedMetadataTables class.
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

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

Microsoft.TeamFoundation.VersionControl.Client Namespace