IFsrmActionCommand 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.]

Used to run a command or script in response to a quota, file screen, or file management job
event.

To create a command action, call one of the following methods and specify FsrmActionType_Command as the action type:

The create methods return an IFsrmAction interface. To get this interface, call the QueryInterface method and specify IID_IFsrmActionCommand as the interface identifier.

Inheritance

The IFsrmActionCommand interface inherits from the IFsrmAction interface.

Methods

The IFsrmActionCommand interface has these methods.

 
IFsrmActionCommand::get_Account

Retrieves or sets the system account that is used to run the executable program specified in the ExecutablePath property. (Get)
IFsrmActionCommand::get_Arguments

Retrieves or sets the arguments to pass to the executable program specified in the ExecutablePath property. (Get)
IFsrmActionCommand::get_ExecutablePath

Retrieves or sets the full path to the executable program or script to run. (Get)
IFsrmActionCommand::get_KillTimeOut

Retrieves or sets the number of minutes the server waits before terminating the process that is running the executable program specified in the ExecutablePath property. (Get)
IFsrmActionCommand::get_LogResult

Retrieves or sets a value that determines whether FSRM logs an Application event that contains the return code of the executable program. (Get)
IFsrmActionCommand::get_MonitorCommand

Retrieves or sets a value that determines whether FSRM will monitor the executable program specified in the ExecutablePath property. (Get)
IFsrmActionCommand::get_WorkingDirectory

Retrieves or sets the working directory in which the executable program will run. (Get)
IFsrmActionCommand::put_Account

Retrieves or sets the system account that is used to run the executable program specified in the ExecutablePath property. (Put)
IFsrmActionCommand::put_Arguments

Retrieves or sets the arguments to pass to the executable program specified in the ExecutablePath property. (Put)
IFsrmActionCommand::put_ExecutablePath

Retrieves or sets the full path to the executable program or script to run. (Put)
IFsrmActionCommand::put_KillTimeOut

Retrieves or sets the number of minutes the server waits before terminating the process that is running the executable program specified in the ExecutablePath property. (Put)
IFsrmActionCommand::put_LogResult

Retrieves or sets a value that determines whether FSRM logs an Application event that contains the return code of the executable program. (Put)
IFsrmActionCommand::put_MonitorCommand

Retrieves or sets a value that determines whether FSRM will monitor the executable program specified in the ExecutablePath property. (Put)
IFsrmActionCommand::put_WorkingDirectory

Retrieves or sets the working directory in which the executable program will run. (Put)

Requirements

Requirement Value
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

IFsrmAction

IFsrmActionEmail

IFsrmActionEventLog

IFsrmActionReport

MSFT_FSRMAction

MSFT_FSRMFMJAction

MSFT_FSRMFMJNotificationAction