This documentation is archived and is not being maintained.

Workstation::UpdateWorkspaceInfoCache Method (VersionControlServer, String, array<Workspace>%)

Updates the cache with the workspace information objects that are associated with the specified repository.

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

public:
void UpdateWorkspaceInfoCache(
	VersionControlServer^ sourceControl, 
	String^ ownerName, 
	[OutAttribute] array<Workspace^>^% workspaces
)

Parameters

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

The source control repository.

ownerName
Type: System::String

The owner of the workspaces.

workspaces
Type: array<Microsoft.TeamFoundation.VersionControl.Client::Workspace>%

An array of the workspaces that were updated.

Show: