BuildMaster SDK Reference
Version:

CreateAgentFromId(int? agentId) Method

Returns the agent with the specified ID.

Syntax

public static Inedo.BuildMaster.Extensibility.Agents.BuildMasterAgent CreateAgentFromId(int? agentId)

Parameters

agentId
Type: int?

The agent ID.

Returns

The agent with the specified ID.

Remarks

A value of null (Nothing in Visual Basic) will cause this method to return a local agent.