This documentation is archived and is not being maintained.

IBuildAgent::Status Property

Gets or sets the build agent status.

Namespace:  Microsoft.TeamFoundation.Build.Client
Assembly:  Microsoft.TeamFoundation.Build.Client (in Microsoft.TeamFoundation.Build.Client.dll)

property AgentStatus Status {
	AgentStatus get ();
	void set (AgentStatus value);
}

Property Value

Type: Microsoft.TeamFoundation.Build.Client::AgentStatus
The status of the build agent.

The status must be set to Enabled for the build agent to queue or start new builds.

Show: