TeamFoundationBuildService.QueryQueuedBuilds Method
Queries the build queue using the input specifications.
Namespace: Microsoft.TeamFoundation.Build.Server
Assembly: Microsoft.TeamFoundation.Build.Server (in Microsoft.TeamFoundation.Build.Server.dll)
Syntax
'Declaration
Public Function QueryQueuedBuilds ( _
requestContext As TeamFoundationRequestContext, _
specs As IList(Of BuildQueueSpec) _
) As TeamFoundationDataReader
public TeamFoundationDataReader QueryQueuedBuilds(
TeamFoundationRequestContext requestContext,
IList<BuildQueueSpec> specs
)
public:
TeamFoundationDataReader^ QueryQueuedBuilds(
TeamFoundationRequestContext^ requestContext,
IList<BuildQueueSpec^>^ specs
)
member QueryQueuedBuilds :
requestContext:TeamFoundationRequestContext *
specs:IList<BuildQueueSpec> -> TeamFoundationDataReader
public function QueryQueuedBuilds(
requestContext : TeamFoundationRequestContext,
specs : IList<BuildQueueSpec>
) : TeamFoundationDataReader
Parameters
requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContextThe request context.
specs
Type: System.Collections.Generic.IList<BuildQueueSpec>The input specifications.
Return Value
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationDataReader
The queued builds matching the input specifications and any supporting objects.
.NET Framework Security
[M:F:Microsoft.TeamFoundation.Build.Common.BuildPermissions.ViewBuildDefinition]
The caller must have ViewBuildDefinition permission to view build definitions.
[M:F:Microsoft.TeamFoundation.Build.Common.BuildPermissions.ViewBuilds]
The caller must have ViewBuilds permission to view build details.
[M:F:Microsoft.TeamFoundation.Build.Common.AdministrationPermissions.ViewBuildResources]
The caller must have ViewBuildResources permission to view build resources.
[M:F:Microsoft.TeamFoundation.Build.Common.BuildPermissions.ViewBuildDefinition]
The caller must have [ViewBuildDefinition] permission to view build definitions.
[M:F:Microsoft.TeamFoundation.Build.Common.BuildPermissions.ViewBuilds]
The caller must have [ViewBuilds] permission to view build details.
[M:F:Microsoft.TeamFoundation.Build.Common.AdministrationPermissions.ViewBuildResources]
The caller must have [ViewBuildResources] permission to view build resources.
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.