Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
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
'Declaration
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 | |
|---|---|---|
![]() |
Agents | Gets a read-only collection of agents that is associated with this service host. |
![]() |
BaseUrl | Gets or sets the base URL for this service host. |
![]() |
BuildServer | Gets the build server for this service host. |
![]() |
Controller | Gets the build controller that is associated with this service host. |
![]() |
IsVirtual | Gets a value indicating whether this service host is virtual. A virtual service host is dynamically allocated to computers on demand instead of statically at installation time. |
![]() |
MessageQueueUrl | Gets the message queue address. This field is for system use only. |
![]() |
Name | Gets or sets the name for this service host. |
![]() |
RequireClientCertificates | Gets or sets a flag that describes whether the service host requires client certificates for incoming calls. |
![]() |
Uri | Gets the uniform resource identifier (URI) for this service host. |
Top
Methods
| Name | Description | |
|---|---|---|
![]() |
AddBuildAgent | Adds a build agent to the collection of agents that are associated with this service host. |
![]() |
CreateBuildAgent(String, String) | Creates a build agent that is associated with the current service host and adds it to the collection of agents. |
![]() |
CreateBuildAgent(String, String, IBuildController) | Creates a build agent that is associated with the current service host and adds it to the collection of agents. |
![]() |
CreateBuildController | Creates a build controller that is associated with the current service host. |
![]() |
Delete | Deletes the service host together with all associated controllers and agents. |
![]() |
DeleteBuildAgent | Deletes the specified build agent from this service host. |
![]() |
DeleteBuildController | Deletes the build controller that is associated with this service host. |
![]() |
FindBuildAgent | Gets the build agent that has the specified name and that is associated with the specified build controller. |
![]() |
ReleaseOwnership | Releases ownership of the service host. |
![]() |
Save | Saves any changes that were made since the last time that the save method was called. |
![]() |
SetBuildAgentStatus | Sets the build agent status. |
![]() |
SetBuildController | Switches the build controller that is associated with this service host. |
![]() |
SetBuildControllerStatus | Sets the build controller status. |
![]() |
TakeOwnership | Takes ownership of the service host. |
Top
.gif)
.gif)