UID | title | description | helpviewer_keywords | old-location | tech.root | ms.assetid | ms.date | ms.keywords | req.header | req.include-header | req.target-type | req.target-min-winverclnt | req.target-min-winversvr | req.kmdf-ver | req.umdf-ver | req.ddi-compliance | req.unicode-ansi | req.idl | req.max-support | req.namespace | req.assembly | req.type-library | req.lib | req.dll | req.irql | targetos | req.typenames | req.redist | ms.custom | f1_keywords | dev_langs | topic_type | api_type | api_location | api_name | |||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NF:fsrmreports.IFsrmFileManagementJob.AddNotification |
IFsrmFileManagementJob::AddNotification (fsrmreports.h) |
Adds a new notification value (period) to the file management job's list of notifications. |
|
fsrm\ifsrmfilemanagementjob_addnotification.htm |
fsrm |
95b41aa0-44c9-41a2-8132-6aecc4685243 |
12/05/2018 |
AddNotification, AddNotification method [File Server Resource Manager], AddNotification method [File Server Resource Manager],IFsrmFileManagementJob interface, IFsrmFileManagementJob interface [File Server Resource Manager],AddNotification method, IFsrmFileManagementJob.AddNotification, IFsrmFileManagementJob::AddNotification, fs.ifsrmfilemanagementjob_addnotification, fsrm.ifsrmfilemanagementjob_addnotification, fsrmreports/IFsrmFileManagementJob::AddNotification |
fsrmreports.h |
Windows |
None supported |
Windows Server 2008 R2 |
SrmSvc.dll |
Windows |
19H1 |
|
|
|
|
|
|
[This method is supported for compatibility but it's recommended to use the FSRM WMI Classes to manage FSRM. Please see the MSFT_FSRMFMJNotification::CreateFMJNotification method.]
Adds a new notification value (period) to the file management job's list of notifications.
A unique notification value to add. The value cannot be less than zero.
The method returns the following return values.
The days parameter specifies the number of days before the file is to expire. If the appropriate conditions set in the job are met, notification will be sent to the user to let them know that the file is about to expire. FSRM uses the actions associated with the notification value to determine how the user is notified.
Notification occurs when the job runs and the following conditions are met:
- Today is the day when notification should occur.
- The day when notification should occur is before the next scheduled run time.
The FromDate determines when the notification window begins. The following properties determine when the file is to expire:
- DaysSinceFileCreated
- DaysSinceFileLastAccessed
- DaysSinceFileLastModified
- PropertyConditions (use the CreatePropertyCondition method to create the property condition)
- FileNamePattern
IFsrmFileManagementJob::DeleteNotification
IFsrmFileManagementJob::ModifyNotification