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.Int32

    The notification value to associate with the action.

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