TeamFoundationBuildService.DestroyBuilds Method
Permanently removes the specified builds from the database. This operation is destructive. This means that destroyed builds cannot be recovered.
Namespace: Microsoft.TeamFoundation.Build.Server
Assembly: Microsoft.TeamFoundation.Build.Server (in Microsoft.TeamFoundation.Build.Server.dll)
Syntax
'Declaration
Public Sub DestroyBuilds ( _
requestContext As TeamFoundationRequestContext, _
uris As IList(Of String) _
)
public void DestroyBuilds(
TeamFoundationRequestContext requestContext,
IList<string> uris
)
public:
void DestroyBuilds(
TeamFoundationRequestContext^ requestContext,
IList<String^>^ uris
)
member DestroyBuilds :
requestContext:TeamFoundationRequestContext *
uris:IList<string> -> unit
public function DestroyBuilds(
requestContext : TeamFoundationRequestContext,
uris : IList<String>
)
Parameters
requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContextThe request context.
uris
Type: System.Collections.Generic.IList<String>The URIs of the builds to destroy.
.NET Framework Security
[M:F:Microsoft.TeamFoundation.Build.Common.BuildPermissions.DestroyBuilds]
The caller must have DestroyBuilds permission for the target build definitions.
[M:F:Microsoft.TeamFoundation.Build.Common.BuildPermissions.DestroyBuilds]
The caller must have [DestroyBuilds] permission for the target build definitions.
Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.