Export (0) Print
Expand All

Workspace.Update Method (String, String, WorkingFolder[], Boolean)

Update 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,
	WorkingFolder[] newMappings,
	bool removeUnparentedCloaks
)

Parameters

newName
Type: System.String

The new name.

newComment
Type: System.String

The new comment.

newMappings
Type: Microsoft.TeamFoundation.VersionControl.Client.WorkingFolder[]

The new mappings.

removeUnparentedCloaks
Type: System.Boolean

True to remove mapping errors that can be safely ignored. False not to remove mapping errors.

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

Show:
© 2015 Microsoft