IFsrmFileScreenBase.CreateAction Method (_FsrmActionType)

 

Creates an action for this file screen object. The action is triggered when a file violates the file screen.

Namespace:   Microsoft.Storage
Assembly:  srmlib (in srmlib.dll)

Syntax

IFsrmAction CreateAction(
    _FsrmActionType ActionType
)
IFsrmAction^ CreateAction(
    _FsrmActionType ActionType
)
abstract CreateAction : 
        ActionType:_FsrmActionType -> IFsrmAction
Function CreateAction (
    ActionType As _FsrmActionType
) As IFsrmAction

Parameters

Return Value

Type: Microsoft.Storage.IFsrmAction

A IFsrmAction containing an interface to the newly created action. Query the interface for the specific action specified. For example, if actionType is FsrmActionType_Command, query action for the IFsrmActionCommand interface.

Remarks

You can specify up to four unique actions for each file screen.

The action is deleted if the file screen is deleted.

For an example, see Performing Action Based on File Screen Violations.

See Also

IFsrmFileScreenBase Interface
Microsoft.Storage Namespace

Return to top