BuildMaster SDK Reference
Version:

GetAgentAsync(string serverName) Method

Returns the agent with the specified server name and associates it with the current execution.

Syntax

public abstract Task<Inedo.BuildMaster.Extensibility.Agents.BuildMasterAgent> GetAgentAsync(string serverName)

Parameters

serverName
Type: string

The name of the server.

Returns

Agent with the specified server name.