BuildService.QueryBuildQueue Method
Queries the build queue given a set of specifications for agents and definitions.
Namespace: Microsoft.TeamFoundation.Build.Server.Compatibility
Assembly: Microsoft.TeamFoundation.Build.Server (in Microsoft.TeamFoundation.Build.Server.dll)
Syntax
'Declaration
<WebMethodAttribute> _
<ClientServiceMethodAttribute(AsyncPattern := True, SyncPattern := True)> _
Public Function QueryBuildQueue ( _
specs As BuildQueueSpec2008() _
) As List(Of BuildQueueQueryResult2008)
[WebMethodAttribute]
[ClientServiceMethodAttribute(AsyncPattern = true, SyncPattern = true)]
public List<BuildQueueQueryResult2008> QueryBuildQueue(
BuildQueueSpec2008[] specs
)
[WebMethodAttribute]
[ClientServiceMethodAttribute(AsyncPattern = true, SyncPattern = true)]
public:
List<BuildQueueQueryResult2008^>^ QueryBuildQueue(
array<BuildQueueSpec2008^>^ specs
)
[<WebMethodAttribute>]
[<ClientServiceMethodAttribute(AsyncPattern = true, SyncPattern = true)>]
member QueryBuildQueue :
specs:BuildQueueSpec2008[] -> List<BuildQueueQueryResult2008>
public function QueryBuildQueue(
specs : BuildQueueSpec2008[]
) : List<BuildQueueQueryResult2008>
Parameters
- specs
Type: array<Microsoft.TeamFoundation.Build.Server.Compatibility.BuildQueueSpec2008[]
Return Value
Type: System.Collections.Generic.List<BuildQueueQueryResult2008>
A list of BuildQueueQueryResult structures with the requested results.
.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.
See Also
Reference
Microsoft.TeamFoundation.Build.Server.Compatibility Namespace