ICommonStructureService.CreateNode Method

Creates a new node in a classification service structure.

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

Syntax

'Declaration
Function CreateNode ( _
    nodeName As String, _
    parentNodeUri As String _
) As String
'Usage
Dim instance As ICommonStructureService 
Dim nodeName As String 
Dim parentNodeUri As String 
Dim returnValue As String 

returnValue = instance.CreateNode(nodeName, _
    parentNodeUri)
string CreateNode(
    string nodeName,
    string parentNodeUri
)
String^ CreateNode(
    String^ nodeName, 
    String^ parentNodeUri
)
function CreateNode(
    nodeName : String, 
    parentNodeUri : String
) : String

Parameters

  • nodeName
    Type: System.String

    Name of the node to create. If the parent already has a node with this name, then the new node will not be created.

  • parentNodeUri
    Type: System.String

    The URI of the node which will be the parent of the new node.

Return Value

Type: System.String
A string value containing the URI of the created node.

.NET Framework Security

See Also

Reference

ICommonStructureService Interface

ICommonStructureService Members

Microsoft.TeamFoundation.Server Namespace