This documentation is archived and is not being maintained.

Workspace::Update Method (String, String, array<WorkingFolder>)

Updates the properties of a workspace.

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

public:
void Update(
	String^ newName, 
	String^ newComment, 
	array<WorkingFolder^>^ newMappings
)

Parameters

newName
Type: System::String

The new name.

newComment
Type: System::String

The new comment.

newMappings
Type: array<Microsoft.TeamFoundation.VersionControl.Client::WorkingFolder>

The new mappings.

You can change the name, the comment, and the working folders. The repository is referenced by changedWorkspace. (You cannot move workspaces across repositories.)

Show: