This documentation is archived and is not being maintained.

IBuildServer::QueryProcessTemplates Method (String, array<ProcessTemplateType>)

Gets all build process templates for a Team Project of a specified type or types.

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

array<IProcessTemplate^>^ QueryProcessTemplates(
	String^ teamProject, 
	array<ProcessTemplateType>^ types
)

Parameters

teamProject
Type: System::String

The Team Project for which to query for process templates.

types
Type: array<Microsoft.TeamFoundation.Build.Client::ProcessTemplateType>

An array of ProcessTemplateType to query for.

Return Value

Type: array<Microsoft.TeamFoundation.Build.Client::IProcessTemplate>
An array of the build process templates.

Show: