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)
Syntax
声明
Function QueryProcessTemplates ( _
    teamProject As String, _
    types As ProcessTemplateType() _
) As IProcessTemplate()
IProcessTemplate[] QueryProcessTemplates(
    string teamProject,
    ProcessTemplateType[] types
)
array<IProcessTemplate^>^ QueryProcessTemplates(
    String^ teamProject, 
    array<ProcessTemplateType>^ types
)
abstract QueryProcessTemplates : 
        teamProject:string * 
        types:ProcessTemplateType[] -> IProcessTemplate[] 
function QueryProcessTemplates(
    teamProject : String, 
    types : ProcessTemplateType[]
) : IProcessTemplate[]
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.
.NET Framework Security
- 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.