This documentation is archived and is not being maintained.

Workstation::RemoveCachedWorkspaceInfo Method (VersionControlServer)

Removes the workspaces that are associated with the specified repository from the cache.

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

public:
array<WorkspaceInfo^>^ RemoveCachedWorkspaceInfo(
	VersionControlServer^ sourceControl
)

Parameters

sourceControl
Type: Microsoft.TeamFoundation.VersionControl.Client::VersionControlServer

The source control repository.

Return Value

Type: array<Microsoft.TeamFoundation.VersionControl.Client::WorkspaceInfo>
An array of the workspaces that were removed from the cache.

Show: