Partager via


IFsrmAction Interface

 

The base class for all FSRM action interfaces.

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

Syntax

[GuidAttribute("6CD6408A-AE60-463B-9EF1-E117534D69DC")]
public interface IFsrmAction
[GuidAttribute("6CD6408A-AE60-463B-9EF1-E117534D69DC")]
public interface class IFsrmAction
[<GuidAttribute("6CD6408A-AE60-463B-9EF1-E117534D69DC")>]
type IFsrmAction = interface end
<GuidAttribute("6CD6408A-AE60-463B-9EF1-E117534D69DC")>
Public Interface IFsrmAction

Properties

Name Description
System_CAPS_pubproperty ActionType

Retrieves the action's type.

System_CAPS_pubproperty id

Retrieves the identifier of the action.

System_CAPS_pubproperty RunLimitInterval

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

Methods

Name Description
System_CAPS_pubmethod Delete()

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

Remarks

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.

See Also

IFsrmActionCommand
IFsrmActionEmail
IFsrmActionEmail2
IFsrmActionEventLog
IFsrmActionReport
Microsoft.Storage Namespace

Return to top