IFsrmFileManagementJob::DaysSinceFileLastModified property

[This property is supported for compatibility but it's recommended to use the FSRM WMI Classes to manage FSRM. Please see the MSFT_FSRMFileManagementJob class.]

The number of days that have elapsed since a file was last modified.

This property is read/write.

Syntax


HRESULT put_DaysSinceFileLastModified(
  [in]   long daysSinceModify
);

HRESULT get_DaysSinceFileLastModified(
  [out]  long *pDaysSinceModify
);

Property value

The number of days that have elapsed since the file was last modified. Must be a non-negative integer value.

Error codes

The method returns the following return values.

NameMeaning
S_OK

Success

E_INVALIDARG

The daysSinceModify value is less than zero.

Remarks

The value is FsrmDaysNotSpecified if not set.

The job considers this condition met for a file if the file's last modified date minus the job's current run date is less than the value of daysSinceModify.

Requirements

Minimum supported client

None supported

Minimum supported server

Windows Server 2008 R2

DLL

SrmSvc.dll

IID

IID_IFsrmFileManagementJob is defined as 0770687e-9f36-4d6f-8778-599d188461c9

See also

IFsrmFileManagementJob
MSFT_FSRMFileManagementJob

 

 

Show:
© 2014 Microsoft