Share via


TeamFoundationBuildService.AddProcessTemplates Method

Adds the specified process templates to the database. The returned list of templates matches the input list so the caller may associate the generated identifiers.

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

Syntax

'Declaration
Public Function AddProcessTemplates ( _
    requestContext As TeamFoundationRequestContext, _
    processTemplates As IList(Of ProcessTemplate) _
) As List(Of ProcessTemplate)
public List<ProcessTemplate> AddProcessTemplates(
    TeamFoundationRequestContext requestContext,
    IList<ProcessTemplate> processTemplates
)
public:
List<ProcessTemplate^>^ AddProcessTemplates(
    TeamFoundationRequestContext^ requestContext, 
    IList<ProcessTemplate^>^ processTemplates
)
member AddProcessTemplates : 
        requestContext:TeamFoundationRequestContext * 
        processTemplates:IList<ProcessTemplate> -> List<ProcessTemplate> 
public function AddProcessTemplates(
    requestContext : TeamFoundationRequestContext, 
    processTemplates : IList<ProcessTemplate>
) : List<ProcessTemplate>

Parameters

Return Value

Type: System.Collections.Generic.List<ProcessTemplate>
The list of process templates added.

.NET Framework Security

  • [M:F:Microsoft.TeamFoundation.Build.Common.BuildPermissions.EditBuildDefinition] 

    The caller must have the EditBuildDefinition permission for the target team project(s).

  • [M:F:Microsoft.TeamFoundation.Build.Common.BuildPermissions.EditBuildDefinition] 

    The caller must have the [EditBuildDefinition] permission for the target team project(s).

  • 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.

See Also

Reference

TeamFoundationBuildService Class

Microsoft.TeamFoundation.Build.Server Namespace