TestConnection Method

TestConnection Method

IIS 7.0

Tests connectivity of the IIS Transform Manager service to the Scheduler object.

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

bool TestConnection(
	JobScheduler scheduler,
	Credential credential


Type: Microsoft.Web.Media.TransformManager..::..JobScheduler
The Scheduler object to test.
Type: Microsoft.Web.Media.TransformManager..::..Credential
The Credential object that is required in order to run jobs and access resources.

Return Value

Type: System..::..Boolean
true if the IIS Transform Manager service is able to connect to the Scheduler object; otherwise, false.


The test connection is not valid for a local scheduler.


HPC client utilities are not installed.


The scheduler is not responding.

By default, IIS Transform Manager uses the task scheduler on the local server, but it also supports using an HPC scheduler. A credential is required in order to run jobs and access resources on the HPC cluster. That credential can be different from the credential that the IIS Transform Manager service is running under on the local server.

© 2015 Microsoft