IFsrmFileManagementJob::get_FromDate method (fsrmreports.h)

[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 date from which you want the file management job to begin expiring files (moving files to the expired files directory). This property also applies to custom commands for the file management job.

This property is read/write.

Syntax

HRESULT get_FromDate(
  DATE *fromDate
);

Parameters

fromDate

Return value

None

Remarks

The value is FsrmDateNotSpecified if not set.

The job expires the files if the fromDate value is earlier than the job's current run date.

Typically, you set this date to be greater than the shortest notification period that you specify. This ensures that notification is sent at least once before files are expired. If you do not specify this date, files can be expired before notification is sent. For example, if you create job and run it the same day, it is possible that one or more files will meet the expiration conditions set by the job and be expired without any notification. You can create zero-day notification but the notification will be after the fact.

Requirements

Requirement Value
Minimum supported client None supported
Minimum supported server Windows Server 2008 R2
Target Platform Windows
Header fsrmreports.h
DLL SrmSvc.dll

See also

IFsrmFileManagementJob

MSFT_FSRMFileManagementJob