3.2.4.2.48.23 DaysSinceFileCreated (put) (Opnum 33)

The DaysSinceFileCreated (put) method sets the days since file created property for the file management job and returns S_OK upon successful completion.

 [propput, id(FSRM_PROPERTY(FSRM_DISPID_FILE_MANAGEMENT_JOB | 0x0c))] HRESULT DaysSinceFileCreated(
   [in] long  daysSinceCreation
 );

daysSinceCreation: Contains the days since file created property for this file management job.

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

Return value/code

Description

0x80070057

E_INVALIDARG

The value of the daysSinceCreation parameter is not greater than -2.

Upon receiving this message, the server MUST validate parameters:

  • Verify that daysSinceCreation is greater than negative 2.

If any validation fails, the server MUST terminate processing and return a nonzero error code.

 The server MUST set the days since file created property of this file management job to daysSinceCreation.