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)

[OperationContractAttribute]
bool TestConnection(
	JobScheduler scheduler,
	Credential credential
)

Parameters

scheduler
Type: Microsoft.Web.Media.TransformManager..::..JobScheduler
The Scheduler object to test.
credential
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.

ExceptionCondition
InvalidOperationException

The test connection is not valid for a local scheduler.

FileNotFoundException

HPC client utilities are not installed.

InvalidDataException

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.

Show: