TeamFoundationBuildService.UpdateProcessTemplates Method
Updates existing process templates using the provided objects.
Namespace: Microsoft.TeamFoundation.Build.Server
Assembly: Microsoft.TeamFoundation.Build.Server (in Microsoft.TeamFoundation.Build.Server.dll)
Syntax
'Declaration
Public Function UpdateProcessTemplates ( _
requestContext As TeamFoundationRequestContext, _
processTemplates As IList(Of ProcessTemplate) _
) As List(Of ProcessTemplate)
public List<ProcessTemplate> UpdateProcessTemplates(
TeamFoundationRequestContext requestContext,
IList<ProcessTemplate> processTemplates
)
public:
List<ProcessTemplate^>^ UpdateProcessTemplates(
TeamFoundationRequestContext^ requestContext,
IList<ProcessTemplate^>^ processTemplates
)
member UpdateProcessTemplates :
requestContext:TeamFoundationRequestContext *
processTemplates:IList<ProcessTemplate> -> List<ProcessTemplate>
public function UpdateProcessTemplates(
requestContext : TeamFoundationRequestContext,
processTemplates : IList<ProcessTemplate>
) : List<ProcessTemplate>
Parameters
requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContextThe request context.
processTemplates
Type: System.Collections.Generic.IList<ProcessTemplate>The updated objects to apply.
Return Value
Type: System.Collections.Generic.List<ProcessTemplate>
A list of updated process templates.
.NET Framework Security
[M:F:Microsoft.TeamFoundation.Build.Common.BuildPermissions.EditBuildDefinition]
The caller must have EditBuildDefinition permission for the target team project.
[M:F:Microsoft.TeamFoundation.Build.Common.BuildPermissions.EditBuildDefinition]
The caller must have [EditBuildDefinition] permission for the target team project.
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.