This documentation is archived and is not being maintained.

BuildAgentSpec2008 Class

Rather than providing a separate server method for querying build agents, you just have to provide a BuildAgentSpec when querying instead of the base BuildItemSpec if additional filtering is desired (beyond the simple path filter).

System.Object
  Microsoft.TeamFoundation.Build.Server.Compatibility.BuildGroupItemSpec2010
    Microsoft.TeamFoundation.Build.Server.Compatibility.BuildAgentSpec2008

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 BuildAgentSpec2008 : BuildGroupItemSpec2010

The BuildAgentSpec2008 type exposes the following members.

  NameDescription
Public propertyFullPath (Inherited from BuildGroupItemSpec2010.)
Public propertyMachineNameGets or sets the computer name that will be used for filtering the query.
Public propertyPortGets or sets the port that will be used for filtering the query.
Top

  NameDescription
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().)
Top

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