TeamFoundationBuildService.QueryProcessTemplatesById Method
Queries process templates by ID.
Namespace: Microsoft.TeamFoundation.Build.Server
Assembly: Microsoft.TeamFoundation.Build.Server (in Microsoft.TeamFoundation.Build.Server.dll)
Syntax
'Declaration
Public Function QueryProcessTemplatesById ( _
requestContext As TeamFoundationRequestContext, _
templateIds As IList(Of Integer) _
) As List(Of ProcessTemplate)
public List<ProcessTemplate> QueryProcessTemplatesById(
TeamFoundationRequestContext requestContext,
IList<int> templateIds
)
public:
List<ProcessTemplate^>^ QueryProcessTemplatesById(
TeamFoundationRequestContext^ requestContext,
IList<int>^ templateIds
)
member QueryProcessTemplatesById :
requestContext:TeamFoundationRequestContext *
templateIds:IList<int> -> List<ProcessTemplate>
public function QueryProcessTemplatesById(
requestContext : TeamFoundationRequestContext,
templateIds : IList<int>
) : List<ProcessTemplate>
Parameters
requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContextThe request context.
templateIds
Type: System.Collections.Generic.IList<Int32>The IDs of the templates that should be queried.
Return Value
Type: System.Collections.Generic.List<ProcessTemplate>
A list of process templates matching the input IDs.
.NET Framework Security
[M:F:Microsoft.TeamFoundation.Build.Common.BuildPermissions.ViewBuildDefinition]
The caller must have ViewBuildDefinition permission for the target team project.
[M:F:Microsoft.TeamFoundation.Build.Common.BuildPermissions.ViewBuildDefinition]
The caller must have [ViewBuildDefinition] permission for the target team project.
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.