Otter 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.Otter.Extensibility.Agents.OtterAgent> GetAgentAsync(string serverName)

Parameters

serverName
Type: string

The name of the server.

Returns

Agent with the specified server name.