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)

<GuidAttribute("12937789-E247-4917-9C20-F3EE9C7EE783")>
Public Interface IFsrmActionCommand
	Inherits IFsrmAction

NameDescription
System_CAPS_pubpropertyAccount

Retrieves or sets the system account that is used to run the executable program specified in the ExecutablePath property.

This property is read/write.

System_CAPS_pubpropertyActionType

Gets the ActionType property.

System_CAPS_pubpropertyArguments

Retrieves or sets the arguments to pass to the executable program specified in the ExecutablePath property.

This property is read/write.

System_CAPS_pubpropertyExecutablePath

Retrieves or sets the full path to the executable program or script to run.

This property is read/write.

System_CAPS_pubpropertyid

Gets the id property.

System_CAPS_pubpropertyKillTimeOut

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.

System_CAPS_pubpropertyLogResult

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.

System_CAPS_pubpropertyMonitorCommand

Retrieves or sets a value that determines whether FSRM will monitor the executable program specified in the ExecutablePath property.

This property is read/write.

System_CAPS_pubpropertyRunLimitInterval

Gets and sets the RunLimitInterval property.

System_CAPS_pubpropertyWorkingDirectory

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

This property is read/write.

NameDescription
System_CAPS_pubmethodDelete()

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.

Return to top

Community Additions

ADD
Show: