Skip to content

Latest commit

 

History

History
117 lines (80 loc) · 4.53 KB

nf-fsrmreports-ifsrmfilemanagementjob-createnotificationaction.md

File metadata and controls

117 lines (80 loc) · 4.53 KB
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.CreateNotificationAction
IFsrmFileManagementJob::CreateNotificationAction (fsrmreports.h)
Creates a notification action and associates it with the notification value.
CreateNotificationAction
CreateNotificationAction method [File Server Resource Manager]
CreateNotificationAction method [File Server Resource Manager]
IFsrmFileManagementJob interface
FsrmActionType_Command
FsrmActionType_Email
FsrmActionType_EventLog
IFsrmFileManagementJob interface [File Server Resource Manager]
CreateNotificationAction method
IFsrmFileManagementJob.CreateNotificationAction
IFsrmFileManagementJob::CreateNotificationAction
fs.ifsrmfilemanagementjob_createnotificationaction
fsrm.ifsrmfilemanagementjob_createnotificationaction
fsrmreports/IFsrmFileManagementJob::CreateNotificationAction
fsrm\ifsrmfilemanagementjob_createnotificationaction.htm
fsrm
d0cb2ac1-842c-4ebb-adac-8298a0e0beed
12/05/2018
CreateNotificationAction, CreateNotificationAction method [File Server Resource Manager], CreateNotificationAction method [File Server Resource Manager],IFsrmFileManagementJob interface, FsrmActionType_Command, FsrmActionType_Email, FsrmActionType_EventLog, IFsrmFileManagementJob interface [File Server Resource Manager],CreateNotificationAction method, IFsrmFileManagementJob.CreateNotificationAction, IFsrmFileManagementJob::CreateNotificationAction, fs.ifsrmfilemanagementjob_createnotificationaction, fsrm.ifsrmfilemanagementjob_createnotificationaction, fsrmreports/IFsrmFileManagementJob::CreateNotificationAction
fsrmreports.h
Windows
None supported
Windows Server 2008 R2
SrmSvc.dll
Windows
19H1
IFsrmFileManagementJob::CreateNotificationAction
fsrmreports/IFsrmFileManagementJob::CreateNotificationAction
c++
APIRef
kbSyntax
COM
SrmSvc.dll
IFsrmFileManagementJob.CreateNotificationAction

IFsrmFileManagementJob::CreateNotificationAction

-description

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

Creates a notification action and associates it with the notification value.

-parameters

-param days [in]

The notification value to associate with the action.

-param actionType [in]

The action to perform when the notification period is reached, enumerated by the FsrmActionType enumeration.

Note  The FsrmActionType_Report type is not valid for this method.
 

FsrmActionType_EventLog (1)

Log an event to the Application event log.

FsrmActionType_Email (2)

Send an email message.

FsrmActionType_Command (3)

Execute a command or script.

-param action [out]

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.

-returns

The method returns the following return values.

-remarks

You can specify up to three unique actions for each notification value.

The action is deleted when the notification is deleted.

-see-also

IFsrmFileManagementJob

IFsrmFileManagementJob::EnumNotificationActions

MSFT_FSRMFileManagementJob