Export (0) Print
Expand All

IBuildAgent Interface

This interface defines methods for accessing the build agent on the Team Foundation Build computer.

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

public interface IBuildAgent : IBuildGroupItem

The IBuildAgent type exposes the following members.

  NameDescription
Public propertyBuildDirectoryGets or sets a path of the build agent working directory.
Public propertyBuildServer Obsolete. Gets an IBuildServer of the server that owns the build agent.
Public propertyControllerGets or sets the build controller that owns this build agent.
Public propertyDateCreatedGets the date and time that this agent was created.
Public propertyDateUpdatedGets the date and time that this agent was last updated.
Public propertyDescriptionGets or sets the description of the build agent.
Public propertyEnabledGets or sets a flag that describes whether the build agent is enabled.
Public propertyFullPathGets the full path of this build group item. (Inherited from IBuildGroupItem.)
Public propertyIsReservedGets a flag that describes whether this agent is currently being used by a build.
Public propertyMachineName Obsolete. Gets or sets the computer name for the build agent.
Public propertyMaxProcesses Obsolete. Gets or sets the maximum number of processes to use for the build agent.
Public propertyNameGets or sets the name of this build group item. (Inherited from IBuildGroupItem.)
Public propertyPort Obsolete. Gets or sets the port number for the build agent.
Public propertyQueueCount Obsolete. Gets the current queue count for the build agent. All queue statuses are included in this count.
Public propertyRequireSecureChannel Obsolete. Obsolete. Do not use.
Public propertyReservedForBuildGets the identifier of the build that is currently using this agent. Returns null if the agent is not currently being used.
Public propertyServiceHostGets the service host in which this build agent resides.
Public propertyStatusGets or sets the build agent status.
Public propertyStatusMessageGets a message from the build computer about the build agent status.
Public propertyTagsGets or sets the tags that are defined for this build agent.
Public propertyTeamProjectGets the team project that owns this build group item. (Inherited from IBuildGroupItem.)
Public propertyUriGets the uniform resource identifier (URI) of this build group item. (Inherited from IBuildGroupItem.)
Public propertyUrlGets the URL that is used to communicate with the build agent.
Top

  NameDescription
Public methodCopyTo Obsolete. Creates a copy of the build agent in the specified team project.
Public methodCreateSpec Obsolete. Creates a new build agent specification for this build agent.
Public methodDeleteDeletes the build agent from the build computer.
Public methodGetExpandedBuildDirectoryGets the build directory for the build agent with all variable expansions evaluated according to the given build definition.
Public methodRefreshRefreshes this build group item by getting current property values from the build server. (Inherited from IBuildGroupItem.)
Public methodSaveSaves any changes that were made to the build agent on the build computer.
Top

Community Additions

ADD
Show:
© 2014 Microsoft