Partager via


BuildMachineState Class

Represents a snapshot of the state of a build server.

Inheritance Hierarchy

System.Object
  Microsoft.TeamFoundation.Build.Hosting.BuildMachineState

Namespace:  Microsoft.TeamFoundation.Build.Hosting
Assembly:  Microsoft.TeamFoundation.Build.Config (in Microsoft.TeamFoundation.Build.Config.dll)

Syntax

'Declaration
<DataContractAttribute(Namespace := "https://schemas.microsoft.com/TeamFoundation/2010/Build/Hosting")> _
Public NotInheritable Class BuildMachineState
[DataContractAttribute(Namespace = "https://schemas.microsoft.com/TeamFoundation/2010/Build/Hosting")]
public sealed class BuildMachineState
[DataContractAttribute(Namespace = L"https://schemas.microsoft.com/TeamFoundation/2010/Build/Hosting")]
public ref class BuildMachineState sealed
[<Sealed>]
[<DataContractAttribute(Namespace = "https://schemas.microsoft.com/TeamFoundation/2010/Build/Hosting")>]
type BuildMachineState =  class end
public final class BuildMachineState

The BuildMachineState type exposes the following members.

Constructors

  Name Description
Public method BuildMachineState

Top

Properties

  Name Description
Public property Agents Gets the collection of agent processes managed by this build server.
Public property ConnectionError Gets the reason the server is not able to communicate with the configured Team Project Collection.
Public property Controller Gets the controller process managed by this build server.
Public property Credentials Gets the authenticating credentials that are being used by the server.
Public property Id Gets the unique identifier for the server.
Public property IsOnline Gets a value indicating whether the server can communicate with the configured Team Project Collection.
Public property Name Gets the name of the server.
Public property ServerUrl Gets the configured team project collection URL.
Public property Status Gets the status of the server.

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 Returns a string that represents the current object. (Inherited from Object.)

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