IFsrmFileManagementJob::DaysSinceFileCreated 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 the file was created.

This property is read/write.

Syntax


HRESULT put_DaysSinceFileCreated(
  [in]   long daysSinceCreation
);

HRESULT get_DaysSinceFileCreated(
  [out]  long *pDaysSinceCreation
);

Property value

The number of days that have elapsed since the file was created.

Error codes

The method returns the following return values.

NameMeaning
S_OK

Success

E_INVALIDARG

Remarks

The value is FsrmDaysNotSpecified if not set.

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

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