Partager via


IBuildServiceHost Interface

Interface for a build service host in the server that is running Team Foundation Build.

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

Syntax

'Déclaration
Public Interface IBuildServiceHost
public interface IBuildServiceHost
public interface class IBuildServiceHost
type IBuildServiceHost =  interface end
public interface IBuildServiceHost

The IBuildServiceHost type exposes the following members.

Properties

  Name Description
Public property Agents Gets a read-only collection of agents that is associated with this service host.
Public property BaseUrl Gets or sets the base URL for this service host.
Public property BuildServer Gets the build server for this service host.
Public property Controller Gets the build controller that is associated with this service host.
Public property Name Gets or sets the name for this service host.
Public property RequireClientCertificates Gets or sets a flag that describes whether the service host requires client certificates for incoming calls.
Public property Uri Gets the uniform resource identifier (URI) for this service host.

Top

Methods

  Name Description
Public method AddBuildAgent Adds a build agent to the collection of agents that are associated with this service host.
Public method CreateBuildAgent(String, String) Creates a build agent that is associated with the current service host and adds it to the collection of agents.
Public method CreateBuildAgent(String, String, IBuildController) Creates a build agent that is associated with the current service host and adds it to the collection of agents.
Public method CreateBuildController Creates a build controller that is associated with the current service host.
Public method Delete Deletes the service host together with all associated controllers and agents.
Public method DeleteBuildAgent Deletes the specified build agent from this service host.
Public method DeleteBuildController Deletes the build controller that is associated with this service host.
Public method FindBuildAgent Gets the build agent that has the specified name and that is associated with the specified build controller.
Public method Save Saves any changes that were made since the last time that the save method was called.
Public method SetBuildAgentStatus Sets the build agent status.
Public method SetBuildController Switches the build controller that is associated with this service host.
Public method SetBuildControllerStatus Sets the build controller status.

Top

See Also

Reference

Microsoft.TeamFoundation.Build.Client Namespace