This documentation is archived and is not being maintained.

Workstation::RemoveCachedWorkspaceInfo Method (Uri, String, String)

Removes the specified workspace from the cache.

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

public:
array<WorkspaceInfo^>^ RemoveCachedWorkspaceInfo(
	Uri^ serverUri, 
	String^ workspaceName, 
	String^ workspaceOwner
)

Parameters

serverUri
Type: System::Uri

The URI of the server that contains the workspace to remove from cache. Null to match all servers.

workspaceName
Type: System::String

The name of the workspace to remove from cache. Null to match all workspaces.

workspaceOwner
Type: System::String

The owner of the workspace to remove from the cache. Null to match all owners.

Return Value

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

Show: