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
requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContextDeployment-level context to use.
machinePoolName
Type: System.StringName of computer pool to look up.
Return Value
Type: Microsoft.TeamFoundation.Build.Hosted.Server.MachinePool
.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.