This documentation is archived and is not being maintained.
IBuildServer::QueryProcessTemplates Method (String, array<ProcessTemplateType>)
Visual Studio 2013
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.
- 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.
Show: