BuildControllerWebService.DeleteBuild Method
Called to delete a given build. The failureMessage parameter contains the error/warning that might occur when you perform this operation.
If the Boolean returned is false, failureMessage contains the error. If the Boolean returned is true, failureMessage contains the warning.
Namespace: Microsoft.TeamFoundation.Build.Server.Compatibility
Assembly: Microsoft.TeamFoundation.Build.Server (in Microsoft.TeamFoundation.Build.Server.dll)
Syntax
'Declaration
<WebMethodAttribute> _
Public Function DeleteBuild ( _
buildUri As String, _
<OutAttribute> ByRef failureMessage As String _
) As Boolean
[WebMethodAttribute]
public bool DeleteBuild(
string buildUri,
out string failureMessage
)
[WebMethodAttribute]
public:
bool DeleteBuild(
String^ buildUri,
[OutAttribute] String^% failureMessage
)
[<WebMethodAttribute>]
member DeleteBuild :
buildUri:string *
failureMessage:string byref -> bool
public function DeleteBuild(
buildUri : String,
failureMessage : String
) : boolean
Parameters
- buildUri
Type: System.String
- failureMessage
Type: System.String%
Return Value
Type: System.Boolean
.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
BuildControllerWebService Class
Microsoft.TeamFoundation.Build.Server.Compatibility Namespace