BuildService.UpdateQueuedBuilds Method
Updates queued builds with the provided information. The user must have the AdministerBuild permission on the team project that contains the queued build in order to perform this action.
This method is all or nothing, meaning that either all of the updates work or none of them work. Changing the postponed flag of a build may cause it to be started. Therefore, the Build property of the QueuedBuild object will be set if the build is started.
Namespace: Microsoft.TeamFoundation.Build.Server.Compatibility
Assembly: Microsoft.TeamFoundation.Build.Server (in Microsoft.TeamFoundation.Build.Server.dll)
Syntax
'Declaration
<WebMethodAttribute> _
Public Function UpdateQueuedBuilds ( _
updateOptions As QueuedBuildUpdateOptions2010() _
) As List(Of QueuedBuild2008)
[WebMethodAttribute]
public List<QueuedBuild2008> UpdateQueuedBuilds(
QueuedBuildUpdateOptions2010[] updateOptions
)
[WebMethodAttribute]
public:
List<QueuedBuild2008^>^ UpdateQueuedBuilds(
array<QueuedBuildUpdateOptions2010^>^ updateOptions
)
[<WebMethodAttribute>]
member UpdateQueuedBuilds :
updateOptions:QueuedBuildUpdateOptions2010[] -> List<QueuedBuild2008>
public function UpdateQueuedBuilds(
updateOptions : QueuedBuildUpdateOptions2010[]
) : List<QueuedBuild2008>
Parameters
updateOptions
Type: array<Microsoft.TeamFoundation.Build.Server.Compatibility.QueuedBuildUpdateOptions2010[]The updates that should be performed.
Return Value
Type: System.Collections.Generic.List<QueuedBuild2008>
A list of queued build objects that were successfully updated.
.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