다음을 통해 공유


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

See Also

Reference

TeamFoundationBuildService Class

Microsoft.TeamFoundation.Build.Server Namespace