BuildMaster SDK Reference
Version:

SetAgent(Inedo.BuildMaster.Extensibility.Agents.BuildMasterAgent agent, bool disposeAgent) Method

Inititializes the Agent property.

Syntax

public void SetAgent(Inedo.BuildMaster.Extensibility.Agents.BuildMasterAgent agent, bool disposeAgent)

Parameters

agent
Type: Inedo.BuildMaster.Extensibility.Agents.BuildMasterAgent

Value to write to the property.

disposeAgent
Type: bool

Value indicating whether the agent should be disposed when the provider is disposed.