ISchedulerJob::NotifyOnStart property

Gets or sets whether you want to receive an email notification when then job starts.

This property is read/write.

Syntax

HRESULT put_NotifyOnStart(
  [in]          VARIANT_BOOL pRetVal
);

HRESULT get_NotifyOnStart(
  [out, retval] VARIANT_BOOL *pRetVal
);

Property value

A VARIANT_BOOL that specifies whether you want to receive an email notification when then job starts. VARIANT_TRUE indicates that you want to receive an email notification when then job starts. VARIANT_FALSE indicates that you do not want to receive an email notification when then job starts.

Error codes

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

Remarks

A cluster administrator must configure the email notification feature before you can receive an email notification about a job.

By default, you do not receive an email notification when a job starts.

Requirements

Product

HPC Pack 2008 R2 Client Utilities

Type library

Microsoft.Hpc.Scheduler.tlb

See also

ISchedulerJob

ISchedulerJob::NotifyOnCompletion