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 | |
---|---|---|
BuildAgentSpec2008 |
Top
Properties
Name | Description | |
---|---|---|
FullPath | (Inherited from BuildGroupItemSpec2010.) | |
MachineName | Gets or sets the computer name that will be used for filtering the query. | |
Port | Gets or sets the port that will be used for filtering the query. |
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.
See Also
Reference
Microsoft.TeamFoundation.Build.Server.Compatibility Namespace