Export (0) Print
Expand All

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)

public interface IBuildServiceHost

The IBuildServiceHost type exposes the following members.

  NameDescription
Public propertyAcquiredOnGets the date and time of registration with TFS if this service host is online, else returns DateTime.MinValue.
Public propertyAgentsGets a read-only collection of agents that is associated with this service host.
Public propertyBaseUrlGets or sets the base URL for this service host.
Public propertyBuildServerGets the build server for this service host.
Public propertyConnectedOnGets the date and time of connection to the message queue if this service host is online, else returns DateTime.MinValue.
Public propertyControllerGets the build controller that is associated with this service host.
Public propertyIsVirtualGets 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.
Public propertyMessageQueueUrlGets the message queue address. This field is for system use only.
Public propertyNameGets or sets the name for this service host.
Public propertyRequireClientCertificatesGets or sets a flag that describes whether the service host requires client certificates for incoming calls.
Public propertyStatusGets the online status of the service host.
Public propertyStatusChangedOnGets the date and time of the last online/offline status change of the service host.
Public propertyUriGets the uniform resource identifier (URI) for this service host.
Top

  NameDescription
Public methodAddBuildAgentAdds a build agent to the collection of agents that are associated with this service host.
Public methodCreateBuildAgent(String, String)Creates a build agent that is associated with the current service host and adds it to the collection of agents.
Public methodCreateBuildAgent(String, String, IBuildController)Creates a build agent that is associated with the current service host and adds it to the collection of agents.
Public methodCreateBuildControllerCreates a build controller that is associated with the current service host.
Public methodDeleteDeletes the service host together with all associated controllers and agents.
Public methodDeleteBuildAgentDeletes the specified build agent from this service host.
Public methodDeleteBuildControllerDeletes the build controller that is associated with this service host.
Public methodFindBuildAgentGets the build agent that has the specified name and that is associated with the specified build controller.
Public methodReleaseOwnershipReleases ownership of the service host.
Public methodSaveSaves any changes that were made since the last time that the save method was called.
Public methodSetBuildAgentStatusSets the build agent status.
Public methodSetBuildControllerSwitches the build controller that is associated with this service host.
Public methodSetBuildControllerStatusSets the build controller status.
Public methodTakeOwnershipTakes ownership of the service host.
Top
Show:
© 2014 Microsoft