Partager via


TeamFoundationBuildService.QueryProcessTemplates Method

Queries for the list of process templates in the specified team project.

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

Syntax

'Declaration
Public Function QueryProcessTemplates ( _
    requestContext As TeamFoundationRequestContext, _
    teamProject As String, _
    queryTypes As IList(Of ProcessTemplateType) _
) As List(Of ProcessTemplate)
public List<ProcessTemplate> QueryProcessTemplates(
    TeamFoundationRequestContext requestContext,
    string teamProject,
    IList<ProcessTemplateType> queryTypes
)
public:
List<ProcessTemplate^>^ QueryProcessTemplates(
    TeamFoundationRequestContext^ requestContext, 
    String^ teamProject, 
    IList<ProcessTemplateType>^ queryTypes
)
member QueryProcessTemplates : 
        requestContext:TeamFoundationRequestContext * 
        teamProject:string * 
        queryTypes:IList<ProcessTemplateType> -> List<ProcessTemplate> 
public function QueryProcessTemplates(
    requestContext : TeamFoundationRequestContext, 
    teamProject : String, 
    queryTypes : IList<ProcessTemplateType>
) : List<ProcessTemplate>

Parameters

Return Value

Type: System.Collections.Generic.List<ProcessTemplate>
A list of all process templates matching the requested types for the team project.

.NET Framework Security

See Also

Reference

TeamFoundationBuildService Class

Microsoft.TeamFoundation.Build.Server Namespace