TeamFoundationHostedBuildService.RegisterMachinePool Method
Adds or updates the information about a computer pool.
Namespace: Microsoft.TeamFoundation.Build.Hosted.Server
Assembly: Microsoft.TeamFoundation.Build.Server (in Microsoft.TeamFoundation.Build.Server.dll)
Syntax
'Declaration
Public Sub RegisterMachinePool ( _
requestContext As TeamFoundationRequestContext, _
machinePool As MachinePool _
)
public void RegisterMachinePool(
TeamFoundationRequestContext requestContext,
MachinePool machinePool
)
public:
void RegisterMachinePool(
TeamFoundationRequestContext^ requestContext,
MachinePool^ machinePool
)
member RegisterMachinePool :
requestContext:TeamFoundationRequestContext *
machinePool:MachinePool -> unit
public function RegisterMachinePool(
requestContext : TeamFoundationRequestContext,
machinePool : MachinePool
)
Parameters
requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContextDeployment-level context to use.
machinePool
Type: Microsoft.TeamFoundation.Build.Hosted.Server.MachinePoolMachine pool object to write.
.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.