Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
IBuildDefinition Methods

IBuildDefinition Methods

The IBuildDefinition type exposes the following members.

  NameDescription
Public method AddRetentionPolicy Adds a retention policy to the list of retention policies of this build definition.
Public method AddSchedule Adds a schedule to the list of schedules for the build definition. The schedule has no effect if the ContinuousIntegrationType is not Schedule. Only one schedule is accepted in the list.
Public method CopyFrom Updates the current build definition instance using the property values in the provided build definition.
Public method CreateBuildRequest Creates a build request from the build definition that has values for IBuildAgent and drop location set to the default build agent and default drop location.
Public method CreateManualBuild(String) Creates a build detail record in the Team Foundation Server build database. Build information and other changes can be made to the returned IBuildDetail object.
Public method CreateManualBuild(String, String) Creates a build detail record in the Team Foundation Server build database. Build information and other changes can be made to the returned IBuildDetail object.
Public method CreateManualBuild(String, String, BuildStatus, IBuildController, String) Creates a build detail record in the Team Foundation Server build database.
Public method CreateSpec Creates a new build specification for the build definition.
Public method Delete Deletes the build definition and all its builds from the server.
Public method QueryBuilds Gets all the builds for this build definition.
Public method Refresh() Refreshes this build group item by getting current property values from the build server. (Inherited from IBuildGroupItem.)
Public method Refresh(String[], QueryOptions) Refresh this build definition by getting updated property values from the server.
Public method Save Saves any changes that were made to the IBuildDefinition object to the server.
Top
Show:
© 2015 Microsoft