Compartir a través de


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)

Syntax

'Declaration
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.

Return Value

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

.NET Framework Security

See Also

Reference

IBuildServer Interface

QueryProcessTemplates Overload

Microsoft.TeamFoundation.Build.Client Namespace