ICommonStructureService.CreateProject Method

Creates nodes in the common structure service for a new team project.

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

Syntax

'Declaration
Function CreateProject ( _
    projectName As String, _
    projectStructure As XmlElement _
) As ProjectInfo
ProjectInfo CreateProject(
    string projectName,
    XmlElement projectStructure
)
ProjectInfo^ CreateProject(
    String^ projectName, 
    XmlElement^ projectStructure
)
abstract CreateProject : 
        projectName:string * 
        projectStructure:XmlElement -> ProjectInfo
function CreateProject(
    projectName : String, 
    projectStructure : XmlElement
) : ProjectInfo

Parameters

  • projectStructure
    Type: System.Xml.XmlElement

    Describes the areas and iterations to create for this team project.

Return Value

Type: Microsoft.TeamFoundation.Server.ProjectInfo
Returns ProjectInfo.

Remarks

This method does not create a new team project. It is used to initialize the team project data in the common structure service when a new team project is created.

.NET Framework Security

See Also

Reference

ICommonStructureService Interface

Microsoft.TeamFoundation.Server Namespace