TeamFoundationBuildService.DeleteBuildDefinitions Method
Deletes build definitions from the server.
Namespace: Microsoft.TeamFoundation.Build.Server
Assembly: Microsoft.TeamFoundation.Build.Server (in Microsoft.TeamFoundation.Build.Server.dll)
Syntax
'Declaration
Public Sub DeleteBuildDefinitions ( _
requestContext As TeamFoundationRequestContext, _
uris As IList(Of String) _
)
public void DeleteBuildDefinitions(
TeamFoundationRequestContext requestContext,
IList<string> uris
)
public:
void DeleteBuildDefinitions(
TeamFoundationRequestContext^ requestContext,
IList<String^>^ uris
)
member DeleteBuildDefinitions :
requestContext:TeamFoundationRequestContext *
uris:IList<string> -> unit
public function DeleteBuildDefinitions(
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 build definitions to delete.
.NET Framework Security
[M:F:Microsoft.TeamFoundation.Build.Common.BuildPermissions.DeleteBuildDefinition]
The caller must have DeleteBuildDefinition permission on the target build definitions.
[M:F:Microsoft.TeamFoundation.Build.Common.BuildPermissions.DeleteBuildDefinition]
The caller must have [DeleteBuildDefinition] permission on 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.