3.2.4.3 IFolderAction

The IFolderAction interface is used to specify the actions that the data manager is to take on each folder under the data collector set root path if both age and size conditions are met.

The following properties MUST be implemented by the objects that implement the IFolderAction interface.

Property

Read/write

Description

Actions

RW

Specifies the actions that the data manager is to take if both conditions (age and size) are met.

Age

RW

The minimum age of a folder, in days, before it can be considered for these actions. The age of the folder is the number of days since the folder was created. If set to zero, no folders will be excluded because of age. The default value is zero. Any unsigned long is a valid value for this property.

SendCabTo

RW

Specifies the path for sending the CAB file, if the action includes sending the CAB file. The path needs to be formatted as a UncPath. If the cab cannot be sent (because the destination does not exist or the DataCollectorSet does not have write privileges to the destination), the DataManager does not fail and data management continues.

Size

RW

Specifies the minimum size, in megabytes (MB), of any folder against which the actions specified in the Actions property will be executed. If set to zero, no folders will be excluded because of size. The default value is zero. Any unsigned long is a valid value for this property.

Methods in RPC Opnum Order

Method

Description

Age (Get)

Retrieves the Age property.

Opnum: 7

Age (Put)

Sets the Age property.

Opnum: 8

Size (Get)

Retrieves the Size property.

Opnum: 9

Size (Put)

Sets the Size property.

Opnum: 10

Actions (Get)

Retrieves the Actions property.

Opnum: 11

Actions (Put)

Sets the Actions property.

Opnum: 12

SendCabTo (Get)

Retrieves the SendCabTo property.

Opnum: 13

SendCabTo (Put)

Sets the SendCabTo property.

Opnum: 14

Opnums 0, 1, and 2 are reserved for the IUnknown interface. Opnums 3, 4, 5, and 6 are reserved for the IDispatch interface.