BuildWebService4.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 are 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
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
- 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.