共用方式為


IBuildServer.DestroyBuilds Method (array<Uri )

Destroys builds from the server.

Namespace:  Microsoft.TeamFoundation.Build.Client
Assembly:  Microsoft.TeamFoundation.Build.Client (in Microsoft.TeamFoundation.Build.Client.dll)

Syntax

'Declaration
Sub DestroyBuilds ( _
    buildUris As Uri() _
)
void DestroyBuilds(
    Uri[] buildUris
)
void DestroyBuilds(
    array<Uri^>^ buildUris
)
abstract DestroyBuilds : 
        buildUris:Uri[] -> unit
function DestroyBuilds(
    buildUris : Uri[]
)

Parameters

  • buildUris
    Type: array<System.Uri[]

    The URIs of the builds to delete.

Remarks

Unlike DeleteBuilds, this method will remove the build records from the database. This method will not delete build artifacts such as the drop location and test results.

.NET Framework Security

See Also

Reference

IBuildServer Interface

DestroyBuilds Overload

Microsoft.TeamFoundation.Build.Client Namespace