Otter SDK Reference
Version:

GetAgent(string serverName) Method

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

Syntax

public abstract Inedo.Otter.Extensibility.Agents.OtterAgent GetAgent(string serverName)

Parameters

serverName
Type: string

The name of the server.

Returns

Agent with the specified server name.