Interface for 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
声明
Public Interface IBuildServer
public interface IBuildServer
public interface class IBuildServer
type IBuildServer =  interface end
public interface IBuildServer
The IBuildServer type exposes the following members.
Properties
| Name | Description | |
|---|---|---|
| .gif) | BuildServerVersion | Gets the version of the build server. | 
| .gif) | NoCICheckInComment | Gets the comment string that signals the continuous integration system to ignore a check-in. Any check-in with this string in its comment will not trigger a new build. | 
| .gif) | TeamFoundationServer | Obsolete. Gets the TeamFoundationServer object that created this IBuildServer. | 
| .gif) | TeamProjectCollection | Gets the TeamProjectCollection object that created this IBuildServer. | 
Top
Methods
| Name | Description | |
|---|---|---|
| .gif) | AddBuildQuality(String, String) | Adds the build quality to the specified team project. | 
| .gif) | AddBuildQuality(String, array<String[]) | Adds the array of build qualities to the specified team project. | 
| .gif) | CancelBuilds(array<Int32[]) | Cancels queued builds with the provided IDs if they are currently in active or postponed states. | 
| .gif) | CancelBuilds(array<IQueuedBuild[]) | Cancels the provided queued builds if they are currently in the active or postponed states. | 
| .gif) | CreateBuildAgent | Obsolete. Creates a new build agent owned by the build server. | 
| .gif) | CreateBuildAgentSpec() | Creates a new build agent specification that can be used to query build agents. | 
| .gif) | CreateBuildAgentSpec(String) | Obsolete. Creates a new build agent specification that can be used to query build agents. | 
| .gif) | CreateBuildAgentSpec(IBuildAgent) | Creates a new build agent specification that can be used to query build agents. | 
| .gif) | CreateBuildAgentSpec(String, String) | Obsolete. Creates a new build agent specification that can be used to query build agents. | 
| .gif) | CreateBuildAgentSpec(String, String, List<String>) | Creates a new build agent specification that can be used to query build agents. | 
| .gif) | CreateBuildAgentSpec(String, String, String, Int32) | Obsolete. Creates a new build agent specification that can be used to query build agents. | 
| .gif) | CreateBuildControllerSpec() | Creates a new build controller specification that can be used to query build controllers. | 
| .gif) | CreateBuildControllerSpec(String, String) | Creates a new build controller specification that can be used to query build controllers. | 
| .gif) | CreateBuildDefinition | Creates a new build definition owned by the build server. | 
| .gif) | CreateBuildDefinitionSpec(String) | Creates a new build definition specification that can be used to query build definitions. | 
| .gif) | CreateBuildDefinitionSpec(IBuildDefinition) | Creates a new build definition specification that can be used to query build definitions. | 
| .gif) | CreateBuildDefinitionSpec(String, String) | Creates a new build definition specification that can be used to query build definitions. | 
| .gif) | CreateBuildDetailSpec(IEnumerable<Uri>) | Creates a new build detail specification that can be used to query builds for the specified definitions. | 
| .gif) | CreateBuildDetailSpec(String) | Creates a new build detail specification that can be used to query builds for a team project. | 
| .gif) | CreateBuildDetailSpec(IBuildDefinition) | Creates a new build detail specification that can be used to query builds for a team project. | 
| .gif) | CreateBuildDetailSpec(IBuildDefinitionSpec) | Creates a new build detail specification that can be used to query builds for a team project. | 
| .gif) | CreateBuildDetailSpec(String, String) | Creates a new build detail specification that can be used to query builds for a team project. | 
| .gif) | CreateBuildQueueSpec(IEnumerable<Uri>) | Creates a new build queue specification that can be used to query queued builds. | 
| .gif) | CreateBuildQueueSpec(String) | Creates a new build queue specification that can be used to query queued builds. | 
| .gif) | CreateBuildQueueSpec(String, String) | Creates a new build queue specification that can be used to query queued builds. | 
| .gif) | CreateBuildRequest(Uri) | Creates a new build request for the specified build definition. | 
| .gif) | CreateBuildRequest(Uri, Uri) | Creates a new build request for the specified build definition and controller. | 
| .gif) | CreateBuildServiceHost(String, Uri) | Creates a new service host with the specified name and base URL. | 
| .gif) | CreateBuildServiceHost(String, String, String, Int32) | Creates a new service host with the specified name, and with a base URL consisting of the specified scheme, host, port, and the default path. | 
| .gif) | CreateProcessTemplate | Creates a new build process template, to be used by build definitions. | 
| .gif) | CreateQueuedBuildsView() | Creates a queued builds view.</ | 
| .gif) | CreateQueuedBuildsView(IEnumerable<Uri>) | Creates a queued builds view filtered by the provided definitions. | 
| .gif) | CreateQueuedBuildsView(String) | Creates a queued builds view filtered by team project. | 
| .gif) | CreateTeamProjectComponents | Creates the build components that are needed to create a TeamProject. | 
| .gif) | DeleteBuildAgents(array<Uri[]) | Deletes build agents from the server. | 
| .gif) | DeleteBuildAgents(array<IBuildAgent[]) | Deletes build agents from the server. | 
| .gif) | DeleteBuildControllers(array<Uri[]) | Deletes build controllers from the server. | 
| .gif) | DeleteBuildControllers(array<IBuildController[]) | Deletes build controllers from the server. | 
| .gif) | DeleteBuildDefinitions(array<Uri[]) | Deletes build definitions from the server. | 
| .gif) | DeleteBuildDefinitions(array<IBuildDefinition[]) | Deletes build definitions from the server. | 
| .gif) | DeleteBuildQuality(String, String) | Deletes the specified build quality from the target team project. | 
| .gif) | DeleteBuildQuality(String, array<String[]) | Deletes the specified array of build qualities from the target team project. | 
| .gif) | DeleteBuilds(array<Uri[]) | Deletes builds from the server. All parts of the build are deleted. | 
| .gif) | DeleteBuilds(array<IBuildDetail[]) | Deletes builds from the server. All parts of the build are deleted. | 
| .gif) | DeleteBuilds(array<Uri[], DeleteOptions) | Deletes builds from the server. | 
| .gif) | DeleteBuilds(array<IBuildDetail[], DeleteOptions) | Deletes builds from the server. | 
| .gif) | DeleteBuildServiceHost | Deletes the service host and all associated services from the server. | 
| .gif) | DeleteProcessTemplates | Deletes the build process templates from the server. | 
| .gif) | DestroyBuilds(array<Uri[]) | Destroys builds from the server. | 
| .gif) | DestroyBuilds(array<IBuildDetail[]) | Destroys builds from the server. | 
| .gif) | EvaluateSchedules | Obsolete. This method is called by TfsServerScheduler. | 
| .gif) | GetAffectedBuildDefinitions(array<String[]) | Gets an array of all build definitions affected by the specified Version Control server paths. | 
| .gif) | GetAffectedBuildDefinitions(array<String[], ContinuousIntegrationType) | Gets an array of all build definitions affected by the specified Version Control server paths and are configured with a trigger supplied in the filter. | 
| .gif) | GetAllBuildDetails | Gets a single build with all details. | 
| .gif) | GetBuild(Uri) | Gets a single build. | 
| .gif) | GetBuild(Uri, array<String[], QueryOptions) | Gets a single build. | 
| .gif) | GetBuild(IBuildDefinitionSpec, String, array<String[], QueryOptions) | Gets a single build. | 
| .gif) | GetBuildAgent | Gets a single build agent. | 
| .gif) | GetBuildController(String) | |
| .gif) | GetBuildController(Uri, Boolean) | |
| .gif) | GetBuildDefinition(Uri) | Gets a single build definition. | 
| .gif) | GetBuildDefinition(String, String) | Gets a single build definition. | 
| .gif) | GetBuildDefinition(Uri, QueryOptions) | Gets a single build definition using the specified options to control the amount of data retrieved. | 
| .gif) | GetBuildDefinition(String, String, QueryOptions) | Gets a single build definition using the specified options to control the amount of data retrieved. | 
| .gif) | GetBuildQualities | Gets the array of defined build qualities for the target team project. | 
| .gif) | GetBuildServiceHost(String) | Gets the service host that matches the specified name. | 
| .gif) | GetBuildServiceHost(Uri) | Gets the service host that matches the specified URI. | 
| .gif) | GetDisplayText | Gets the localized display text for enumeration values, or the ToString() value. | 
| .gif) | GetDisplayTextValues | Gets an array of the localized display text values for an enumeration, or the ToString value. | 
| .gif) | GetEnumValue | Gets an enumeration value from corresponding localized display text. | 
| .gif) | GetMinimalBuildDetails | Gets a single build without agent, definition, or information nodes. | 
| .gif) | GetQueuedBuild(Int32, QueryOptions) | Gets a single queued build for a specified ID. | 
| .gif) | GetQueuedBuild(array<Int32[], QueryOptions) | Gets the queued builds for the specified IDs. | 
| .gif) | GetScheduleDaysFromDaysOfWeek | Takes an array of DayOfWeek enumeration values and returns a ScheduleDays value that can be used to set ISchedule.DaysToBuild. | 
| .gif) | ProcessChangeset | Obsolete. Processes a changeset in Team Foundation version control and queues a new build for all items affected by the check-in and have continuous integration enabled. | 
| .gif) | QueryBuildAgents(String) | Obsolete. Obsolete. Gets the build agents for the specified team project. | 
| .gif) | QueryBuildAgents(IBuildAgentSpec) | Gets a single build agent query result for a specified build agent specification. | 
| .gif) | QueryBuildAgents(array<IBuildAgentSpec[]) | Gets the build agent query results for the specified build agent specifications. | 
| .gif) | QueryBuildAgentsByUri | Gets the build agents that match the specified URIs. | 
| .gif) | QueryBuildControllers() | Gets all build controllers and their associated agents. | 
| .gif) | QueryBuildControllers(Boolean) | Gets all build controllers. | 
| .gif) | QueryBuildControllers(IBuildControllerSpec) | Gets a single build controller query result for a specified build controller specification. | 
| .gif) | QueryBuildControllers(array<IBuildControllerSpec[]) | Gets the build controller query results for the specified build controller specifications. | 
| .gif) | QueryBuildControllersByUri | Gets the build controllers that match the specified URIs. | 
| .gif) | QueryBuildDefinitions(String) | Gets the build definitions for the specified team project. | 
| .gif) | QueryBuildDefinitions(IBuildDefinitionSpec) | Gets a single build definition query result for a specified build definition specification. | 
| .gif) | QueryBuildDefinitions(array<IBuildDefinitionSpec[]) | Gets the build definition query results for a specified array of build definition specifications. | 
| .gif) | QueryBuildDefinitions(String, QueryOptions) | Gets the build definitions for the specified team project. The specified query options determine the amount of data that is retrieved in the query. | 
| .gif) | QueryBuildDefinitionsByUri(array<Uri[]) | Gets the build definitions that match the specified URIs. | 
| .gif) | QueryBuildDefinitionsByUri(array<Uri[], QueryOptions) | Gets the build definitions that match the given URIs. The specified query options determine the amount of data that is retrieved in the query. | 
| .gif) | QueryBuilds(String) | Gets all builds for a team project. | 
| .gif) | QueryBuilds(IBuildDefinition) | Gets all builds for a build definition. | 
| .gif) | QueryBuilds(IBuildDefinitionSpec) | Gets all builds for a build definition specification. | 
| .gif) | QueryBuilds(IBuildDetailSpec) | Gets a single build query result for the specified build specification. | 
| .gif) | QueryBuilds(array<IBuildDetailSpec[]) | Gets the build query results for the specified list of build specifications. | 
| .gif) | QueryBuilds(String, String) | Gets all builds for a team project and definition. | 
| .gif) | QueryBuildsByUri(array<Uri[], array<String[], QueryOptions) | Gets the builds that match the specified URIs. | 
| .gif) | QueryBuildsByUri(array<Uri[], array<String[], QueryOptions, QueryDeletedOption) | Gets the builds that match the specified URIs. | 
| .gif) | QueryBuildServiceHosts | Gets an array of all build service hosts that are hosted on the specified computers. | 
| .gif) | QueryBuildServiceHostsByUri | Gets the build service hosts that match the specified URIs. | 
| .gif) | QueryProcessTemplates(String) | Gets all build process templates for a Team Project. | 
| .gif) | QueryProcessTemplates(String, array<ProcessTemplateType[]) | Gets all build process templates for a Team Project of a specified type or types. | 
| .gif) | QueryQueuedBuilds(IQueuedBuildSpec) | Gets a single build query result for a specified queued build specification. | 
| .gif) | QueryQueuedBuilds(array<IQueuedBuildSpec[]) | Gets the build query results for a specified array of queued build specifications. | 
| .gif) | QueueBuild(IBuildDefinition) | Queues a build for the specified build definition with all default options. | 
| .gif) | QueueBuild(IBuildRequest) | Queues a build for the specified build request with default QueueOptions. | 
| .gif) | QueueBuild(IBuildRequest, QueueOptions) | Queues a build for the specified build request. | 
| .gif) | SaveBuildAgents | Saves any changes made to the build agents to the server. | 
| .gif) | SaveBuildControllers | Saves any changes made to the build controllers to the server. | 
| .gif) | SaveBuildDefinitions | Saves any changes made to the build definitions to the server. | 
| .gif) | SaveBuilds | Saves any changes made on the builds to the server. | 
| .gif) | SaveBuildServiceHost | Saves the service host changes to the server. | 
| .gif) | SaveProcessTemplates | Saves any changes made to the build process templates to the server. | 
| .gif) | SaveQueuedBuilds | Saves any changes made to the queued builds to the server. | 
| .gif) | StopBuilds(array<Uri[]) | Stops all builds with the specified URIs. | 
| .gif) | StopBuilds(array<IBuildDetail[]) | Stops the specified builds. | 
| .gif) | TestConnectionForBuildAgent | Instructs application-tier to test connection for build agent and updates the agent status messages. | 
| .gif) | TestConnectionForBuildController | Instructs application-tier to test connection for build controller and updates the controller status messages. | 
| .gif) | TestConnectionsForBuildMachine | Instructs application-tier to test connection for build machine resources and update resource status messages. | 
Top