IFsrmAction interface

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

Members

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

Methods

The IFsrmAction interface has these methods.

MethodDescription
Delete

Removes the action from the quota or file screen object's list of actions.

 

Properties

The IFsrmAction interface has these properties.

PropertyAccess typeDescription

ActionType

Read-only

Retrieves the action's type.

Id

Read-only

Retrieves the identifier of the action.

RunLimitInterval

Read/write

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

 

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

Header

Fsrm.h (include FsrmPipeline.h, FsrmQuota.h, FsrmReports.h, or FsrmScreen.h)

DLL

SrmSvc.dll

IID

IID_IFsrmAction is defined as:
  • 6cd6408a-ae60-463b-9ef1-e117534d69dc
  • 6cd6408a-ae60-463b-9ef1-e117534d69dc

See also

FSRM Interfaces
IFsrmActionCommand
IFsrmActionEmail
IFsrmActionEmail2
IFsrmActionEventLog
IFsrmActionReport
MSFT_FSRMAction
MSFT_FSRMFMJAction
MSFT_FSRMFMJNotificationAction

 

 

Show:
© 2014 Microsoft. All rights reserved.