Share via


TeamFoundationBuildService.CreateTeamProject Method

Sets up the permissions and structures needed for a new team project.

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

Syntax

'Declaration
Public Sub CreateTeamProject ( _
    requestContext As TeamFoundationRequestContext, _
    projectUri As String, _
    permissions As IList(Of BuildTeamProjectPermission) _
)
public void CreateTeamProject(
    TeamFoundationRequestContext requestContext,
    string projectUri,
    IList<BuildTeamProjectPermission> permissions
)
public:
void CreateTeamProject(
    TeamFoundationRequestContext^ requestContext, 
    String^ projectUri, 
    IList<BuildTeamProjectPermission^>^ permissions
)
member CreateTeamProject : 
        requestContext:TeamFoundationRequestContext * 
        projectUri:string * 
        permissions:IList<BuildTeamProjectPermission> -> unit
public function CreateTeamProject(
    requestContext : TeamFoundationRequestContext, 
    projectUri : String, 
    permissions : IList<BuildTeamProjectPermission>
)

Parameters

.NET Framework Security

  • [M:F:Microsoft.TeamFoundation.PermissionActionIdConstants.CreateProjects] 

    The caller must have CreateProjects permission for the target project collection.

  • [M:F:Microsoft.TeamFoundation.PermissionActionIdConstants.CreateProjects] 

    The caller must have [CreateProjects] permission for the target project collection.

  • 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

TeamFoundationBuildService Class

Microsoft.TeamFoundation.Build.Server Namespace