TeamFoundationBuildResourceService.UpdateBuildControllers Method
Updates a list of build controllers. Notifications are asynchronously sent to the physical service host regarding the modification of any build controllers, and a BIS event is fired if the status of the controller changes.
Namespace: Microsoft.TeamFoundation.Build.Server
Assembly: Microsoft.TeamFoundation.Build.Server (in Microsoft.TeamFoundation.Build.Server.dll)
Syntax
'Declaration
Public Sub UpdateBuildControllers ( _
requestContext As TeamFoundationRequestContext, _
updates As IList(Of BuildControllerUpdateOptions), _
canUpdateElastic As Boolean, _
fromDev10Client As Boolean _
)
public void UpdateBuildControllers(
TeamFoundationRequestContext requestContext,
IList<BuildControllerUpdateOptions> updates,
bool canUpdateElastic,
bool fromDev10Client
)
public:
void UpdateBuildControllers(
TeamFoundationRequestContext^ requestContext,
IList<BuildControllerUpdateOptions^>^ updates,
bool canUpdateElastic,
bool fromDev10Client
)
member UpdateBuildControllers :
requestContext:TeamFoundationRequestContext *
updates:IList<BuildControllerUpdateOptions> *
canUpdateElastic:bool *
fromDev10Client:bool -> unit
public function UpdateBuildControllers(
requestContext : TeamFoundationRequestContext,
updates : IList<BuildControllerUpdateOptions>,
canUpdateElastic : boolean,
fromDev10Client : boolean
)
Parameters
requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContextThe request context
updates
Type: System.Collections.Generic.IList<BuildControllerUpdateOptions>The list of controller update options. Each specifies the controller to be updated, the fields to be updated, and the new values for those fields.
- canUpdateElastic
Type: System.Boolean
- fromDev10Client
Type: System.Boolean
.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.