ICommonStructureService.RenameNode Method

Renames the specified node.

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

Syntax

'Declaration
Sub RenameNode ( _
    nodeUri As String, _
    newNodeName As String _
)
'Usage
Dim instance As ICommonStructureService 
Dim nodeUri As String 
Dim newNodeName As String

instance.RenameNode(nodeUri, newNodeName)
void RenameNode(
    string nodeUri,
    string newNodeName
)
void RenameNode(
    String^ nodeUri, 
    String^ newNodeName
)
function RenameNode(
    nodeUri : String, 
    newNodeName : String
)

Parameters

Remarks

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.

.NET Framework Security

See Also

Reference

ICommonStructureService Interface

ICommonStructureService Members

Microsoft.TeamFoundation.Server Namespace