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)
Syntax
'Declaration
Sub MoveBranch ( _
nodeUri As String, _
newParentNodeUri As String _
)
'Usage
Dim instance As ICommonStructureService
Dim nodeUri As String
Dim newParentNodeUri As String
instance.MoveBranch(nodeUri, newParentNodeUri)
void MoveBranch(
string nodeUri,
string newParentNodeUri
)
void MoveBranch(
String^ nodeUri,
String^ newParentNodeUri
)
function MoveBranch(
nodeUri : String,
newParentNodeUri : String
)
Parameters
nodeUri
Type: System.StringThe URI of the node to be moved
newParentNodeUri
Type: System.StringThe URI of the new parent
Remarks
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.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
ICommonStructureService Interface