Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
MSDN Library

BuildAgent2010 Class

Represents a build agent in a team project collection.


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

[ClassVisibilityAttribute(ClientVisibility.Internal, ClientVisibility.Internal)]
public sealed class BuildAgent2010

The BuildAgent2010 type exposes the following members.

Public propertyBuildDirectoryGets or sets the build directory. Environment variables of the form $(variable) are allowed.
Public propertyControllerUriGets or sets the build controller URI.
Public propertyDateCreatedGets the date this build agent was created. This field is read only.
Public propertyDateUpdatedGets the date this build agent was last updated. This field is read only.
Public propertyDescriptionGets or sets the description.
Public propertyEnabledGets or sets a value indicating the enabled state.
Public propertyNameGets or sets the display name.
Public propertyReservedForBuildGets the URI of the build for which this build agent is currently reserved. This field is read only.
Public propertyServiceHostUriGets or sets the service host URI.
Public propertyStatusGets or sets the status. This field is reserved for system use only.
Public propertyStatusMessageGets or sets the status message. This field is reserved for system use only.
Public propertyTagsGets the associated tags.
Public propertyUriGets the URI. This field is read only.
Public propertyUrlGets the physical address for the remote service. This field is read only.

Public methodEqualsDetermines whether the specified object is equal to the current object. (Inherited from Object.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodToString (Overrides Object.ToString().)

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