IFsrmFileManagementJob::put_ExpirationDirectory method (fsrmreports.h)
The root directory that will contain the expired files.
This property is read/write.
HRESULT put_ExpirationDirectory( BSTR expirationDirectory );
FSRM moves the files that meet all of the file management job's conditions to this directory when the job is run, therefore the running process must have write permission. The directory must also be located on an NTFS volume.
FSRM maintains the file's current directory structure in the expired directory so you can determine its previous location. For example, if FSRM expired the file, "C:\TestExpired\Test1.txt", the expired root directory would contain:
The expired file's ACLs are maintained with the file.
If the expiration directory does not exist, FSRM creates the directory (with administrator access rights only).
Do not specify an expiration directory that is in the NamespaceRoots path.
Specify only if OperationType is FsrmFileManagementType_Expiration.
|Minimum supported client||None supported|
|Minimum supported server||Windows Server 2008 R2|