TeamFoundationBuildService.DeleteProcessTemplates Method
Deletes process templates from the server.
Namespace: Microsoft.TeamFoundation.Build.Server
Assembly: Microsoft.TeamFoundation.Build.Server (in Microsoft.TeamFoundation.Build.Server.dll)
Syntax
'Declaration
Public Sub DeleteProcessTemplates ( _
requestContext As TeamFoundationRequestContext, _
templateIds As IList(Of Integer) _
)
public void DeleteProcessTemplates(
TeamFoundationRequestContext requestContext,
IList<int> templateIds
)
public:
void DeleteProcessTemplates(
TeamFoundationRequestContext^ requestContext,
IList<int>^ templateIds
)
member DeleteProcessTemplates :
requestContext:TeamFoundationRequestContext *
templateIds:IList<int> -> unit
public function DeleteProcessTemplates(
requestContext : TeamFoundationRequestContext,
templateIds : IList<int>
)
Parameters
requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContextThe request context.
templateIds
Type: System.Collections.Generic.IList<Int32>The IDs of templates to delete.
.NET Framework Security
[M:F:Microsoft.TeamFoundation.Build.Common.BuildPermissions.DeleteBuildDefinition]
The caller must have DeleteBuildDefinition permission for the target team project.
[M:F:Microsoft.TeamFoundation.Build.Common.BuildPermissions.DeleteBuildDefinition]
The caller must have [DeleteBuildDefinition] permission for the target team project.
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.