IScheduler::DeleteEmailCredentials method

Removes the email credentials for running jobs.

Syntax

HRESULT DeleteEmailCredentials();

Parameters

This method has no parameters.

Return value

If the method succeeds, the return value is S_OK. Otherwise, the return value is an error value.

Remarks

Email credentials use the username and password of the email account as credentials for submitting jobs. To set the email credentials, use the IScheduler::SetEmailCredentials method.

Requirements

Product

This method was introduced in Windows HPC Server 2008 R2 Service Pack 4 (SP4) and is not supported in previous versions.

Type library

Microsoft.Hpc.Scheduler.tlb

See also

IScheduler

ISchedulerJob

ISchedulerJob::AddExcludedNodes

ISchedulerJob::RemoveExcludedNodes

ISchedulerJob::ExcludedNodes