ISchedulerTask::UserBlob property

Retrieves or sets the user data associated with the task.

This property is read/write.

Syntax

HRESULT put_UserBlob(
  [in]  BSTR data
);

HRESULT get_UserBlob(
  [out] BSTR *pData
);

Property value

The user data associated with the task. The resulting encrypted data is limited to 8,000 bytes.

Error codes

If the method succeeds, the return value is S_OK. Otherwise, the return value is an error code. To get a description of the error, access the ErrorMessage task property.

Remarks

HPC encrypts the user data when the job is added or submitted to the scheduler. Only the user that added or submitted the job can get the user data. Note that if the user specifies a different RunAs user when the job is submitted, the RunAs user will not be able to access the user data.

Requirements

Product

HPC Pack 2008 R2 Client Utilities, HPC Pack 2008 Client Utilities

Type library

Microsoft.Hpc.Scheduler.tlb

See also

ISchedulerTask