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
requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContextThe request context.
teamProject
Type: System.StringThe team project name.
queryTypes
Type: System.Collections.Generic.IList<ProcessTemplateType>The types of process templates to return.
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
- 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.