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
声明
Property Status As AgentStatus
Get
Set
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.