Share via


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)

Syntax

'Declaration
Property Status As AgentStatus
AgentStatus Status { get; set; }
property AgentStatus Status {
    AgentStatus get ();
    void set (AgentStatus value);
}
abstract Status : AgentStatus with get, set
function get Status () : AgentStatus 
function set Status (value : AgentStatus)

Property Value

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

Remarks

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

.NET Framework Security

See Also

Reference

IBuildAgent Interface

Microsoft.TeamFoundation.Build.Client Namespace