RenameNode Method
The document is archived and information here might be outdated

ICommonStructureService.RenameNode Method

Renames the specified node.

Namespace:  Microsoft.TeamFoundation.Server
Assembly:  Microsoft.TeamFoundation (in Microsoft.TeamFoundation.dll)

void RenameNode(
	string nodeUri,
	string newNodeName


Type: System.String

The URI of the node to rename

Type: System.String

The new name of the node

This has the effect of changing the path for this node and the entire branch below this node, so tools hold paths must respond to the CSS change events for RenameNode to reflect the new name. The URI is unaffected, though, so tools that hold only URIs do not need to respond.

© 2016 Microsoft