BuildMaster 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.BuildMaster.Extensibility.Agents.BuildMasterAgent GetAgent(string serverName)

Parameters

serverName
Type: string

The name of the server.

Returns

Agent with the specified server name.