Delen via


TeamFoundationProcessTemplateService.UploadProcessTemplate Method

Uploads a process template, but doesn't make it available to the collection. In order to make it available to the collection, a process template usage has to be inserted, by calling AddProcessTemplateUsage.

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

Syntax

'Declaration
Public Overridable Function UploadProcessTemplate ( _
    requestContext As TeamFoundationRequestContext, _
    processTemplate As ProcessTemplate _
) As Guid
public virtual Guid UploadProcessTemplate(
    TeamFoundationRequestContext requestContext,
    ProcessTemplate processTemplate
)
public:
virtual Guid UploadProcessTemplate(
    TeamFoundationRequestContext^ requestContext, 
    ProcessTemplate^ processTemplate
)
abstract UploadProcessTemplate : 
        requestContext:TeamFoundationRequestContext * 
        processTemplate:ProcessTemplate -> Guid  
override UploadProcessTemplate : 
        requestContext:TeamFoundationRequestContext * 
        processTemplate:ProcessTemplate -> Guid
public function UploadProcessTemplate(
    requestContext : TeamFoundationRequestContext, 
    processTemplate : ProcessTemplate
) : Guid

Parameters

Return Value

Type: System.Guid
The template descriptor ID.

.NET Framework Security

See Also

Reference

TeamFoundationProcessTemplateService Class

Microsoft.TeamFoundation.Server.Core Namespace