ICommonStructureService.CreateProject Method
Creates a new project context.
Namespace: Microsoft.TeamFoundation.Server
Assembly: Microsoft.TeamFoundation (in Microsoft.TeamFoundation.dll)
Syntax
'Declaration
Function CreateProject ( _
projectName As String, _
structure As XmlElement _
) As ProjectInfo
'Usage
Dim instance As ICommonStructureService
Dim projectName As String
Dim structure As XmlElement
Dim returnValue As ProjectInfo
returnValue = instance.CreateProject(projectName, _
structure)
ProjectInfo CreateProject(
string projectName,
XmlElement structure
)
ProjectInfo^ CreateProject(
String^ projectName,
XmlElement^ structure
)
function CreateProject(
projectName : String,
structure : XmlElement
) : ProjectInfo
Parameters
projectName
Type: System.StringName of the project context
structure
Type: System.Xml.XmlElementThe definitions of the structures for the project.
Return Value
Type: Microsoft.TeamFoundation.Server.ProjectInfo
A string value containing the URI of the new project.
.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