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
- requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
processTemplate
Type: Microsoft.TeamFoundation.Server.Core.ProcessTemplateThe process template to upload.
Return Value
Type: System.Guid
The template descriptor ID.
.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.