public Task <List <DeploymentMachine> > GetDeploymentMachinesAsync(string projectName, int deploymentGroupId, string machineName) { CheckConnection(); return(_taskAgentClient.GetDeploymentMachinesAsync(projectName, deploymentGroupId, null, machineName)); }