GetAgentAsync(string serverName) Method

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

Syntax

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

Parameters

serverName
Type: string

The name of the server.

Returns

Agent with the specified server name.