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
<CallOnDeserializationAttribute("AfterDeserialize")> _
<ClassVisibilityAttribute(ClientVisibility.Internal, ClientVisibility.Internal)> _
Public NotInheritable Class BuildAgent
[CallOnDeserializationAttribute("AfterDeserialize")]
[ClassVisibilityAttribute(ClientVisibility.Internal, ClientVisibility.Internal)]
public sealed class BuildAgent
[CallOnDeserializationAttribute(L"AfterDeserialize")]
[ClassVisibilityAttribute(ClientVisibility::Internal, ClientVisibility::Internal)]
public ref class BuildAgent sealed
[<Sealed>]
[<CallOnDeserializationAttribute("AfterDeserialize")>]
[<ClassVisibilityAttribute(ClientVisibility.Internal, ClientVisibility.Internal)>]
type BuildAgent = class end
public final class BuildAgent
The BuildAgent type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() |
BuildAgent |
Top
Properties
Name | Description | |
---|---|---|
![]() |
BuildDirectory | Gets or sets the build directory. Environment variables of the form $(variable) are allowed. |
![]() |
ControllerUri | Gets or sets the build controller URI. |
![]() |
DateCreated | Gets the date this build agent was created. This field is read only. |
![]() |
DateUpdated | Gets the date this build agent was last updated. This field is read only. |
![]() |
Description | Gets or sets the description. |
![]() |
Enabled | Gets or sets a value indicating the enabled state. |
![]() |
MessageQueueUrl | Gets the message queue address. This field is read only. |
![]() |
Name | Gets or sets the display name. |
![]() |
Properties | Gets the attached property values. |
![]() |
PropertyCollection | |
![]() |
ReservedForBuild | Gets the URI of the build for which this build agent is currently reserved. This field is read only. |
![]() |
ServiceHostUri | Gets or sets the service host URI. |
![]() |
Status | Gets or sets the status. This field is reserved for system use only. |
![]() |
StatusMessage | Gets or sets the status message. This field is reserved for system use only. |
![]() |
Tags | Gets the associated tags. |
![]() |
Uri | Gets the URI. This field is read only. |
![]() |
Url | Gets the physical address for the remote service. This field is read only. |
Top
Methods
Name | Description | |
---|---|---|
![]() |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() |
GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() |
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.