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).

Inheritance Hierarchy

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)

Syntax

'Declaration
<ClassVisibilityAttribute(ClientVisibility.Internal, ClientVisibility.Internal)> _
Public NotInheritable Class BuildAgentSpec2008 _
    Inherits BuildGroupItemSpec2010
[ClassVisibilityAttribute(ClientVisibility.Internal, ClientVisibility.Internal)]
public sealed class BuildAgentSpec2008 : BuildGroupItemSpec2010
[ClassVisibilityAttribute(ClientVisibility::Internal, ClientVisibility::Internal)]
public ref class BuildAgentSpec2008 sealed : public BuildGroupItemSpec2010
[<Sealed>]
[<ClassVisibilityAttribute(ClientVisibility.Internal, ClientVisibility.Internal)>]
type BuildAgentSpec2008 =  
    class 
        inherit BuildGroupItemSpec2010 
    end
public final class BuildAgentSpec2008 extends BuildGroupItemSpec2010

The BuildAgentSpec2008 type exposes the following members.

Constructors

  Name Description
Public method BuildAgentSpec2008

Top

Properties

  Name Description
Public property FullPath (Inherited from BuildGroupItemSpec2010.)
Public property MachineName Gets or sets the computer name that will be used for filtering the query.
Public property Port Gets or sets the port that will be used for filtering the query.

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.Compatibility Namespace