IFsrmFileManagementJob::get_OperationType method (fsrmreports.h)
[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 get_OperationType(
FsrmFileManagementType *operationType
);
Parameters
operationType
Return value
None
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
Requirement | Value |
---|---|
Minimum supported client | None supported |
Minimum supported server | Windows Server 2008 R2 |
Target Platform | Windows |
Header | fsrmreports.h |
DLL | SrmSvc.dll |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for