2.2.2.8 FolderActionSteps

The FolderActionSteps enumeration defines the action that the data manager takes when both the age and size limits are met. Any combination of the bits MUST be allowed.

 typedef  enum
 {
   plaCreateCab = 0x01,
   plaDeleteData = 0x02,
   plaSendCab = 0x04,
   plaDeleteCab = 0x08,
   plaDeleteReport = 0x10
 } FolderActionSteps;

plaCreateCab:  Creates a cabinet file. The name of the cabinet file is <name of the subfolder>.cab. For example, if the name of the subfolder was "MyFolder", the cab file would be named "MyFolder.cab". The name of the subfolder is specified by the combination of the Subdirectory, SubdirectoryFormat, and SubdirectoryFormatPattern properties of the IDataCollectorSet. The Subdirectory property provides the base name for the Subfolder, the SubdirectoryFormat property specifies the suffix and prefix that will be appended and prepended to the base name, and the SubdirectoryFormatPattern specifies the pattern that will be used in the suffix. The SubdirectoryFormat is specified in section 2.2.2.1. The SubdirectoryFormatPattern is specified in section 2.2.3.1.

plaDeleteData:  Deletes all files in the folder, except the report and cabinet file.

plaSendCab:  Sends the cabinet file to the location specified in the IFolderAction::SendCabTo property.

plaDeleteCab:  Deletes the cabinet file.

plaDeleteReport:  Deletes the report file.