BuildService.DeleteBuilds Method
Deletes the builds that correspond to the given URIs. If a given build does not exist, it is silently ignored. If this method does not throw any exceptions, it can be assumed that the Build part of the delete went okay. Non-fatal errors such as test result deletion failures (other than permission problems) and drop location access issues are just logged to the event log and not considered errors.
Namespace: Microsoft.TeamFoundation.Build.Server.Compatibility
Assembly: Microsoft.TeamFoundation.Build.Server (in Microsoft.TeamFoundation.Build.Server.dll)
Syntax
'Declaration
<WebMethodAttribute> _
Public Function DeleteBuilds ( _
uris As String() _
) As List(Of BuildDeletionResult2010)
[WebMethodAttribute]
public List<BuildDeletionResult2010> DeleteBuilds(
string[] uris
)
[WebMethodAttribute]
public:
List<BuildDeletionResult2010^>^ DeleteBuilds(
array<String^>^ uris
)
[<WebMethodAttribute>]
member DeleteBuilds :
uris:string[] -> List<BuildDeletionResult2010>
public function DeleteBuilds(
uris : String[]
) : List<BuildDeletionResult2010>
Parameters
uris
Type: array<System.String[]The URIs that should be deleted from the server.
Return Value
Type: System.Collections.Generic.List<BuildDeletionResult2010>
A list of DeleteBuildResult structures describing any non-fatal errors encountered.
.NET Framework Security
- 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.
See Also
Reference
Microsoft.TeamFoundation.Build.Server.Compatibility Namespace