Workstation Methods

The Workstation type exposes the following members.

  Name Description
Public method EnsureUpdateWorkspaceInfoCache(VersionControlServer, String) Ensures that the workspace information cache is updated.
Public method EnsureUpdateWorkspaceInfoCache(VersionControlServer, String, TimeSpan) Makes sure that the workspace information cache is updated.
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public method GetAllLocalWorkspaceInfo Gets an array of all cached local workspace information objects.
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetLocalItemExclusions Returns the set of local item exclusions for this user on this computer.
Public method GetLocalWorkspaceInfo(String) Gets the cached local workspace information for the workspace that contains the specified path.
Public method GetLocalWorkspaceInfo(Guid, String, String) Given a Team Project Collection instance ID, workspace name, and workspace owner, looks in the local workspace cache to find a corresponding WorkspaceInfo object. Display names are accepted for the workspace owner string, but if the (name, owner) combination is ambiguous, a MultipleWorkspacesFoundException may be thrown. Passing RepositoryConstants.AuthenticatedUser for "workspaceOwner" is not valid, since no context exists to translate it into the authorized user.
Public method GetLocalWorkspaceInfo(VersionControlServer, String, String) Gets the cached local workspace information for the specified workspace.
Public method GetLocalWorkspaceInfoRecursively Gets the array of workspace information objects at or below the specified path.
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method IsExplicitlyMapped Checks whether the specified path is the root mapping in a workspace.
Public method IsMapped Checks whether the specified path is mapped in a workspace.
Public method QueryLocalWorkspaceInfo Get an array of WorkspaceInfo objects that match the specified parameters.
Public method ReloadCache Forces a reload of the cache on disk.
Public method RemoveCachedWorkspaceInfo(VersionControlServer) Removes the workspaces that are associated with the specified repository from the cache.
Public method RemoveCachedWorkspaceInfo(VersionControlServer, String) Removes the workspaces that are associated with the specified repository from the cache.
Public method RemoveCachedWorkspaceInfo(Uri, String, String) Removes the specified workspace from the cache.
Public method RemoveLocalItemExclusion Removes an exclusion from the local item exclusion list.
Public method SetLocalItemExclusions Overwrites the list of local item exclusions with the list passed in.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Public method UpdateServerUriReferences Obsolete. Updates the cache to reference the specified source control repository using the specified uniform resource identifier (URI).
Public method UpdateWorkspaceInfoCache(VersionControlServer, String) Updates the cache with the workspace information objects that are associated with the specified repository.
Public method UpdateWorkspaceInfoCache(VersionControlServer, String, Workspace[]) Updates the cache with the workspace information objects that are associated with the specified repository.
Top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft