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
requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContextThe request context.
projectUri
Type: System.StringThe URI of the team project.
permissions
Type: System.Collections.Generic.IList<BuildTeamProjectPermission>A collection of permissions that should be applied.
.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.