TeamProjectCollectionService.QueueCreateProject Method
Queues a Team Project to be created.
Namespace: Microsoft.TeamFoundation.Server.Core
Assembly: Microsoft.TeamFoundation.Server.Core (in Microsoft.TeamFoundation.Server.Core.dll)
Syntax
'Declaration
Public Function QueueCreateProject ( _
requestContext As TeamFoundationRequestContext, _
collectionId As Guid, _
projectName As String, _
projectDescription As String, _
processTemplateId As Integer, _
servicingTokens As IDictionary(Of String, String) _
) As ServicingJobDetail
public ServicingJobDetail QueueCreateProject(
TeamFoundationRequestContext requestContext,
Guid collectionId,
string projectName,
string projectDescription,
int processTemplateId,
IDictionary<string, string> servicingTokens
)
public:
ServicingJobDetail^ QueueCreateProject(
TeamFoundationRequestContext^ requestContext,
Guid collectionId,
String^ projectName,
String^ projectDescription,
int processTemplateId,
IDictionary<String^, String^>^ servicingTokens
)
member QueueCreateProject :
requestContext:TeamFoundationRequestContext *
collectionId:Guid *
projectName:string *
projectDescription:string *
processTemplateId:int *
servicingTokens:IDictionary<string, string> -> ServicingJobDetail
public function QueueCreateProject(
requestContext : TeamFoundationRequestContext,
collectionId : Guid,
projectName : String,
projectDescription : String,
processTemplateId : int,
servicingTokens : IDictionary<String, String>
) : ServicingJobDetail
Parameters
requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContextThe request context.
- collectionId
Type: System.Guid
projectName
Type: System.StringThe name of the project to be created.
projectDescription
Type: System.StringThe description of the project to be created.
processTemplateId
Type: System.Int32The ID of the process template to use.
servicingTokens
Type: System.Collections.Generic.IDictionary<String, String>Optional identifiers for extended behavior.
Return Value
Type: Microsoft.TeamFoundation.Framework.Server.ServicingJobDetail
.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.