IFsrmFileManagementJob::CreateNotificationAction method (fsrmreports.h)
Creates a notification action and associates it with the notification value.
HRESULT CreateNotificationAction( [in] long days, [in] FsrmActionType actionType, [out] IFsrmAction **action );
The notification value to associate with the action.
The action to perform when the notification period is reached, enumerated by the FsrmActionType enumeration.
Log an event to the Application event log.
Send an email message.
Execute a command or script.
An IFsrmAction interface of the newly created action. Query the interface for the action interface that you specified in the actionType parameter. For example, if the action type is FsrmActionType_Command, query the interface for the IFsrmActionCommand interface.
The method returns the following return values.
You can specify up to three unique actions for each notification value.
The action is deleted when the notification is deleted.
|Minimum supported client||None supported|
|Minimum supported server||Windows Server 2008 R2|