Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

ICommonStructureService.MoveBranch Method

Moves a node, along with the entire branch below the node, to a new position in the hierarchy

Namespace:  Microsoft.TeamFoundation.Server
Assembly:  Microsoft.TeamFoundation (in Microsoft.TeamFoundation.dll)
void MoveBranch(
	string nodeUri,
	string newParentNodeUri
)

Parameters

nodeUri
Type: System.String

The URI of the node to be moved

newParentNodeUri
Type: System.String

The URI of the new parent

The type of the moved node must be appropriate to be a child of the new parent, and the new parent cannot be in the branch below the moved node. The effects on tools that hold pathnames is equivalent to the effects of RenameNode, above. There are additional effects on tools that infer information from the parentage of the node. For example, Currituck might derive security from a node, and it’s parentage in the hierarchy. Tools that hold only URIs do not need to respond to CSS change events that occur for MoveNode.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.