IFsrmAction interface (fsrm.h)

[This interface is supported for compatibility but it's recommended to use the FSRM WMI Classes to manage FSRM. Please see the MSFT_FSRMAction, MSFT_FSRMFMJAction, and MSFT_FSRMFMJNotificationAction classes.]

The base class for all FSRM action interfaces.

To create an action, call one of the following methods:

Then, call the QueryInterface method of the returned interface for an interface of the specific action type. For an example, see Performing Actions Based on File Screen Violations.

The following methods return a collection of actions:

To get this interface from an item of the collection, call the QueryInterface method on the IDispatch interface contained in the pdispVal member of the variant.

Use the ActionType property to determine the type of action that this interface defines. You can then call the QueryInterface method on this interface to get an interface that defines the action type. The See Also section lists the possible interfaces.

Inheritance

The IFsrmAction interface inherits from the IDispatch interface. IFsrmAction also has these types of members:

Methods

The IFsrmAction interface has these methods.

 
IFsrmAction::Delete

Removes the action from the quota or file screen's list of actions.
IFsrmAction::get_ActionType

Retrieves the action's type.
IFsrmAction::get_Id

Retrieves the identifier of the action.
IFsrmAction::get_RunLimitInterval

Retrieves or sets the interval that must expire before the action is run again. (Get)
IFsrmAction::put_RunLimitInterval

Retrieves or sets the interval that must expire before the action is run again. (Put)

Remarks

The FSRM server starts the action in response to quota or file screen event (for example, a directory size exceeds a directory quota threshold or detection of a restricted file).

Requirements

   
Minimum supported client None supported
Minimum supported server Windows Server 2008
Target Platform Windows
Header fsrm.h (include FsrmPipeline.h, FsrmQuota.h, FsrmReports.h, FsrmScreen.h)

See also

FSRM Interfaces

IFsrmActionCommand

IFsrmActionEmail

IFsrmActionEmail2

IFsrmActionEventLog

IFsrmActionReport

MSFT_FSRMAction

MSFT_FSRMFMJAction

MSFT_FSRMFMJNotificationAction