IFsrmFileManagementJob.CreateNotificationAction Method (Int32, _FsrmActionType)
Creates a notification action and associates it with the notification value.
Namespace: Microsoft.Storage
Assembly: srmlib (in srmlib.dll)
Syntax
IFsrmAction CreateNotificationAction(
int days,
_FsrmActionType ActionType
)
IFsrmAction^ CreateNotificationAction(
int days,
_FsrmActionType ActionType
)
abstract CreateNotificationAction :
days:int *
ActionType:_FsrmActionType -> IFsrmAction
Function CreateNotificationAction (
days As Integer,
ActionType As _FsrmActionType
) As IFsrmAction
Parameters
days
Type: System.Int32The notification value to associate with the action.
ActionType
Type: Microsoft.Storage._FsrmActionTypeThe 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.
Return Value
Type: Microsoft.Storage.IFsrmAction
Returns a 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.
Remarks
You can specify up to three unique actions for each notification value.
The action is deleted when the notification is deleted.
See Also
EnumNotificationActions
IFsrmFileManagementJob Interface
Microsoft.Storage Namespace
Return to top