BuildAgentSpec Class

Provides properties for querying build agents in a team project collection.

Inheritance Hierarchy

System.Object
  Microsoft.TeamFoundation.Build.Server.BuildAgentSpec

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

Syntax

'Declaration
<CallOnSerializationAttribute("BeforeSerialize")> _
<ClassVisibilityAttribute(ClientVisibility.Internal, ClientVisibility.Internal)> _
Public NotInheritable Class BuildAgentSpec
[CallOnSerializationAttribute("BeforeSerialize")]
[ClassVisibilityAttribute(ClientVisibility.Internal, ClientVisibility.Internal)]
public sealed class BuildAgentSpec
[CallOnSerializationAttribute(L"BeforeSerialize")]
[ClassVisibilityAttribute(ClientVisibility::Internal, ClientVisibility::Internal)]
public ref class BuildAgentSpec sealed
[<Sealed>]
[<CallOnSerializationAttribute("BeforeSerialize")>]
[<ClassVisibilityAttribute(ClientVisibility.Internal, ClientVisibility.Internal)>]
type BuildAgentSpec =  class end
public final class BuildAgentSpec

The BuildAgentSpec type exposes the following members.

Constructors

  Name Description
Public method BuildAgentSpec

Top

Properties

  Name Description
Public property ControllerName Gets or sets the build controller name filter. Wildcards are allowed.
Public property Name Gets or sets the build agent name filter. Wildcards are allowed.
Public property PropertyNameFilters Gets the information types to return. A single element that has the value '*' indicates all information.
Public property ServiceHostName Gets or sets the build service host name filter. Wildcards are allowed.
Public property Tags Gets the tags used to filter the build agents.

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 Namespace