This topic has not yet been rated - Rate this topic

BuildAgentSpec2008 Class

Visual Studio 2012

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

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 a hash function for a particular type. (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.
Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.