BuildWebService.DeleteBuildDefinitions Method

Deletes build definitions from the server that have URIs equivalent to those that are passed in as the array parameter. Definitions that still have builds associated with them, whether they're completed or queued and in the 'Active', 'Postponed', or 'InProgress' state, cannot be deleted. The dependent builds must be deleted before removing the definition.

Namespace:  Microsoft.TeamFoundation.Build.Server.Compatibility
Assembly:  Microsoft.TeamFoundation.Build.Server (in Microsoft.TeamFoundation.Build.Server.dll)

Syntax

'Declaration
<WebMethodAttribute> _
Public Sub DeleteBuildDefinitions ( _
    uris As String() _
)
[WebMethodAttribute]
public void DeleteBuildDefinitions(
    string[] uris
)
[WebMethodAttribute]
public:
void DeleteBuildDefinitions(
    array<String^>^ uris
)
[<WebMethodAttribute>]
member DeleteBuildDefinitions : 
        uris:string[] -> unit
public function DeleteBuildDefinitions(
    uris : String[]
)

Parameters

  • uris
    Type: array<System.String[]

    The definitions that should be removed from the server.

.NET Framework Security

See Also

Reference

BuildWebService Class

Microsoft.TeamFoundation.Build.Server.Compatibility Namespace