IFsrmActionCommand Interface
Used to run a command or script in response to a quota, file screen, or file management job event.
Namespace: Microsoft.Storage
Assembly: srmlib (in srmlib.dll)
Syntax
[GuidAttribute("12937789-E247-4917-9C20-F3EE9C7EE783")]
public interface IFsrmActionCommand : IFsrmAction
[GuidAttribute("12937789-E247-4917-9C20-F3EE9C7EE783")]
public interface class IFsrmActionCommand : IFsrmAction
[<GuidAttribute("12937789-E247-4917-9C20-F3EE9C7EE783")>]
type IFsrmActionCommand =
interface
interface IFsrmAction
end
<GuidAttribute("12937789-E247-4917-9C20-F3EE9C7EE783")>
Public Interface IFsrmActionCommand
Inherits IFsrmAction
Properties
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. |
Methods
Name | Description | |
---|---|---|
Delete() | Removes the command or script from the list of actions for the quota, file screen, or file management job event. |
Remarks
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.
See Also
IFsrmAction
IFsrmActionEmail
IFsrmActionEventLog
IFsrmActionReport
Microsoft.Storage Namespace
Return to top