BuildAgent Class

Represents a build agent in a team project collection.

Inheritance Hierarchy

System.Object
  Microsoft.TeamFoundation.Build.Server.BuildAgent

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

Syntax

'Declaration
<ClassVisibilityAttribute(ClientVisibility.Internal, ClientVisibility.Internal)> _
<CallOnDeserializationAttribute("AfterDeserialize")> _
Public NotInheritable Class BuildAgent
[ClassVisibilityAttribute(ClientVisibility.Internal, ClientVisibility.Internal)]
[CallOnDeserializationAttribute("AfterDeserialize")]
public sealed class BuildAgent
[ClassVisibilityAttribute(ClientVisibility::Internal, ClientVisibility::Internal)]
[CallOnDeserializationAttribute(L"AfterDeserialize")]
public ref class BuildAgent sealed
[<Sealed>]
[<ClassVisibilityAttribute(ClientVisibility.Internal, ClientVisibility.Internal)>]
[<CallOnDeserializationAttribute("AfterDeserialize")>]
type BuildAgent =  class end
public final class BuildAgent

The BuildAgent type exposes the following members.

Constructors

  Name Description
Public method BuildAgent

Top

Properties

  Name Description
Public property BuildDirectory Gets or sets the build directory. Environment variables of the form $(variable) are allowed.
Public property ControllerUri Gets or sets the build controller URI.
Public property DateCreated Gets the date this build agent was created. This field is read only.
Public property DateUpdated Gets the date this build agent was last updated. This field is read only.
Public property Description Gets or sets the description.
Public property Enabled Gets or sets a value indicating the enabled state.
Public property MessageQueueUrl Gets the message queue address. This field is read only.
Public property Name Gets or sets the display name.
Public property Properties Gets the attached property values.
Public property PropertyCollection
Public property ReservedForBuild Gets the URI of the build for which this build agent is currently reserved. This field is read only.
Public property ServiceHostUri Gets or sets the service host URI.
Public property Status Gets or sets the status. This field is reserved for system use only.
Public property StatusMessage Gets or sets the status message. This field is reserved for system use only.
Public property Tags Gets the associated tags.
Public property Uri Gets the URI. This field is read only.
Public property Url Gets the physical address for the remote service. This field is read only.

Top

Methods

  Name Description
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method ToString (Overrides Object.ToString().)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.TeamFoundation.Build.Server Namespace