Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Updates a build service host.
Namespace:  Microsoft.TeamFoundation.Build.Server
Assembly:  Microsoft.TeamFoundation.Build.Server (in Microsoft.TeamFoundation.Build.Server.dll)
Syntax
'Declaration
Public Sub UpdateBuildServiceHost ( _
    requestContext As TeamFoundationRequestContext, _
    update As BuildServiceHostUpdateOptions, _
    canUpdateElastic As Boolean _
)
public void UpdateBuildServiceHost(
    TeamFoundationRequestContext requestContext,
    BuildServiceHostUpdateOptions update,
    bool canUpdateElastic
)
public:
void UpdateBuildServiceHost(
    TeamFoundationRequestContext^ requestContext, 
    BuildServiceHostUpdateOptions^ update, 
    bool canUpdateElastic
)
member UpdateBuildServiceHost : 
        requestContext:TeamFoundationRequestContext * 
        update:BuildServiceHostUpdateOptions * 
        canUpdateElastic:bool -> unit
public function UpdateBuildServiceHost(
    requestContext : TeamFoundationRequestContext, 
    update : BuildServiceHostUpdateOptions, 
    canUpdateElastic : boolean
)
Parameters
- requestContext 
 Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext- The request context 
- update 
 Type: Microsoft.TeamFoundation.Build.Server.BuildServiceHostUpdateOptions- The service host update options, which specify the service host to be updated, the fields to be updated, and the new values for those fields. 
- canUpdateElastic
 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.