DeleteJobTemplate Method

IIS 7.0

Deletes a JobTemplate object from IIS Transform Manager.

Namespace:  Microsoft.Web.Media.TransformManager
Assembly:  Microsoft.Web.Media.TransformManager.ServiceLibrary (in Microsoft.Web.Media.TransformManager.ServiceLibrary.dll)

[PrincipalPermissionAttribute(SecurityAction.Demand, Role = "Administrators")]
public void DeleteJobTemplate(
	string jobTemplateId
)

Parameters

jobTemplateId
Type: System..::..String
The ID of the JobTemplate object to delete.

Implements

IManagementService..::..DeleteJobTemplate(String)

ExceptionCondition
InvalidOperationException

The job template is in use and cannot be deleted.

Show: