IFsrmActionCommand interface

[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.

Members

The IFsrmActionCommand interface inherits from IFsrmAction. IFsrmActionCommand also has these types of members:

Properties

The IFsrmActionCommand interface has these properties.

PropertyAccess typeDescription

Account

Read/write

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

Arguments

Read/write

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

ExecutablePath

Read/write

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

KillTimeOut

Read/write

Retrieves or sets the number of minutes the server waits before terminating the process running the executable program specified in the ExecutablePath property.

LogResult

Read/write

Retrieves or sets a value that determines whether FSRM logs an Application event that contains the return code of the executable program.

MonitorCommand

Read/write

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

WorkingDirectory

Read/write

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

 

Requirements

Minimum supported client

None supported

Minimum supported server

Windows Server 2008

Header

Fsrm.h (include FsrmPipeline.h, FsrmQuota.h, FsrmReports.h, or FsrmScreen.h)

DLL

SrmSvc.dll

IID

IID_IFsrmActionCommand is defined as 12937789-e247-4917-9c20-f3ee9c7ee783

See also

FSRM Interfaces
IFsrmAction
IFsrmActionEmail
IFsrmActionEventLog
IFsrmActionReport
MSFT_FSRMAction
MSFT_FSRMFMJAction
MSFT_FSRMFMJNotificationAction

 

 

Show:
© 2014 Microsoft