IFsrmActionCommand Interface
Used to run a command or script in response to a quota, file screen, or file management job event.
Assembly: srmlib (in srmlib.dll)
| Name | Description | |
|---|---|---|
![]() | Account | Retrieves or sets the system account that is used to run the executable program specified in the ExecutablePath property. This property is read/write. |
![]() | ActionType | Gets the ActionType property. |
![]() | Arguments | Retrieves or sets the arguments to pass to the executable program specified in the ExecutablePath property. This property is read/write. |
![]() | ExecutablePath | Retrieves or sets the full path to the executable program or script to run. This property is read/write. |
![]() | id | Gets the id property. |
![]() | 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. This property is read/write. |
![]() | LogResult | Retrieves or sets a value that determines whether FSRM logs an Application event that contains the return code of the executable program. This property is read/write. |
![]() | MonitorCommand | Retrieves or sets a value that determines whether FSRM will monitor the executable program specified in the ExecutablePath property. This property is read/write. |
![]() | RunLimitInterval | Gets and sets the RunLimitInterval property. |
![]() | WorkingDirectory | Retrieves or sets the working directory in which the executable program will run. This property is read/write. |
| Name | Description | |
|---|---|---|
![]() | Delete() | Removes the command or script from the list of actions for the 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.

