IFsrmFileManagementJob::CustomAction property

[This property is supported for compatibility but it's recommended to use the FSRM WMI Classes to manage FSRM. Please see the MSFT_FSRMFileManagementJob class.]

The action to execute when all the conditions are met.

This property is read-only.

Syntax


HRESULT get_CustomAction(
  [out]  IFsrmActionCommand **pAction
);

Property value

An IFsrmActionCommand interface that defines the custom action to execute for every file that meets the file management job's conditions.

Error codes

The method returns the following return values.

NameMeaning
S_OK

Success

Remarks

To create the custom action, call the IFsrmFileManagementJob::CreateCustomAction method.

For a list of macros supported, perform a "get" operation on the IFsrmFileManagementJobManager::ActionVariables and IFsrmFileManagementJobManager::ActionVariableDescriptions properties.

Requirements

Minimum supported client

None supported

Minimum supported server

Windows Server 2008 R2

DLL

SrmSvc.dll

IID

IID_IFsrmFileManagementJob is defined as 0770687e-9f36-4d6f-8778-599d188461c9

See also

IFsrmFileManagementJob
MSFT_FSRMFileManagementJob

 

 

Show:
© 2015 Microsoft