IMonitoringService Interface

Represents an interface that defines how the IIS Transform Manager monitors jobs that are related to a transform process.

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

Syntax

'Declaration
<ServiceContractAttribute(Namespace := "https://schemas.microsoft.com/iis/media/v4/TM/monitoringservice")> _
Public Interface IMonitoringService
'Usage

  Dim instance As IMonitoringService
[ServiceContractAttribute(Namespace = "https://schemas.microsoft.com/iis/media/v4/TM/monitoringservice")]
public interface IMonitoringService
[ServiceContractAttribute(Namespace = L"https://schemas.microsoft.com/iis/media/v4/TM/monitoringservice")]
public interface class IMonitoringService
[<ServiceContractAttribute(Namespace = "https://schemas.microsoft.com/iis/media/v4/TM/monitoringservice")>]
type IMonitoringService =  interface end
  public interface IMonitoringService

The IMonitoringService type exposes the following members.

Methods

  Name Description
Public method CancelJob Cancels a job.
Public method CancelJobById Cancels a job that is represented by the specified job ID.
Public method DeleteJob Deletes all input files, output files, and work item details of a job.
Public method GetCumulativeJobCountByStatus
Public method GetJobCountByStatus Returns the number of jobs in each job state.
Public method GetJobDetails Returns a collection of job details based on the specified filter parameters.
Public method GetJobDetailsById Returns a JobDetails object for a job.
Public method GetJobDetailsByInstanceFileName Returns a collection of JobDetails objects based on the instance file name.
Public method GetJobFiles Returns a list of the files in the folder that is created for this job.
Public method GetJobLogFile Returns the instance log for a job.
Public method GetJobManifest Returns the job manifest that IIS Transform Manager created for a job.
Public method GetRunningJobs Returns a collection of all of the running jobs for all JobDefinition objects.

Top

Remarks

Local administrative group credentials must be used when using the IMonitoringService type. In addition, the calling application must use an elevated privilege.

See Also

Reference

Microsoft.Web.Media.TransformManager Namespace