Export (0) Print
Expand All

IFsrmFileManagementJob::OperationType 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 type of file management job. The type determines the operation to perform on a file when all conditions are met.

This property is read/write.

Syntax


HRESULT put_OperationType(
  [in]   FsrmFileManagementType operationType
);

HRESULT get_OperationType(
  [out]  FsrmFileManagementType *pOperationType
);

Property value

The type of job. For possible values, see the FsrmFileManagementType enumeration.

Error codes

The method returns the following return values.

NameMeaning
S_OK

Success

E_INVALIDARG

Remarks

If the type is FsrmFileManagementType_Expiration, FSRM moves the files that meet all the file management job's conditions to the path specified by the ExpirationDirectory property when the job is run.

If the type is FsrmFileManagementType_Custom, FSRM executes the custom action specified in the CustomAction property for every file that meets all the file management job's conditions when the file management job is run.

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:
© 2014 Microsoft