This documentation is archived and is not being maintained.

IBuildServiceHost::SetBuildAgentStatus Method

Sets the build agent status.

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

void SetBuildAgentStatus(
	IBuildAgent^ agent, 
	AgentStatus status, 
	String^ message
)

Parameters

agent
Type: Microsoft.TeamFoundation.Build.Client::IBuildAgent

The build agent to modify.

status
Type: Microsoft.TeamFoundation.Build.Client::AgentStatus

The status to apply to the build agent.

message
Type: System::String

The display message about the build agent status.

Show: