Share via


TeamFoundationHostedBuildService.GetMachinePool Method

Retrieves the configuration information for a computer pool.

Namespace:  Microsoft.TeamFoundation.Build.Hosted.Server
Assembly:  Microsoft.TeamFoundation.Build.Server (in Microsoft.TeamFoundation.Build.Server.dll)

Syntax

'Declaration
Public Function GetMachinePool ( _
    requestContext As TeamFoundationRequestContext, _
    machinePoolName As String _
) As MachinePool
public MachinePool GetMachinePool(
    TeamFoundationRequestContext requestContext,
    string machinePoolName
)
public:
MachinePool^ GetMachinePool(
    TeamFoundationRequestContext^ requestContext, 
    String^ machinePoolName
)
member GetMachinePool : 
        requestContext:TeamFoundationRequestContext * 
        machinePoolName:string -> MachinePool
public function GetMachinePool(
    requestContext : TeamFoundationRequestContext, 
    machinePoolName : String
) : MachinePool

Parameters

  • machinePoolName
    Type: System.String

    Name of computer pool to look up.

Return Value

Type: Microsoft.TeamFoundation.Build.Hosted.Server.MachinePool

.NET Framework Security

See Also

Reference

TeamFoundationHostedBuildService Class

Microsoft.TeamFoundation.Build.Hosted.Server Namespace