Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
projectName
Type: System.StringThe name of the team project.
projectStructure
Type: System.Xml.XmlElementDescribes 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
- 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.