3.2.4.2.48.7 Enabled (put) (Opnum 17)

The Enabled (put) method sets the enabled property of the file management job and returns S_OK upon successful completion. The enabled property determines if the File Server Resource Manager Protocol will allow the file management job to run.

 [propput, id(FSRM_PROPERTY(FSRM_DISPID_FILE_MANAGEMENT_JOB | 0x03))] HRESULT Enabled(
   [in] VARIANT_BOOL enabled
 );

enabled: Contains a Boolean value for the enabled property for this file management job.

Return Values: The method MUST return zero on success, or a nonzero error code on failure.

The server MUST use enabled to determine if it will allow the file management job to run or return a nonzero error code.

  • If enabled is VARIANT_TRUE, set Enabled/disabled for the file management job to enabled.

  • If enabled is VARIANT_FALSE, set Enabled/disabled for the file management job to disabled.