Remove Method (PIBatches collection)

             

Removes a PIBatch from the collection.

 

Syntax

object.Remove varPIBatch

The Remove method syntax has these parts:

Part

Description

object

An object expression that evaluates to a PIPIBatches collection.

varPIBatch

Variant which represents the PIBatch to remove.

 

Remarks

The argument varPIBatch may be the PIBatch object or the UniqueID of the PIBatch object to remove from the collection. This method only removes the PIBatch from the collection, it is not permanently removed from the server database.

The PIBatch.PICampaign property is never directly set. Adding a PIBatch to the PICampaign.PIBatches collection implicitly sets the PIBatch.PICampaign property. Removing a PIBatch from the PICampaign.PIBatches collection implicitly sets the PIBatch.PICampaign property to Nothing.

 

Trappable Errors

In addition to generic errors (such as Out of Memory), the following errors may occur:

Error

Description

pseNOGENSERVER

The parent underlying generic server object could not be retrieved.

 

 

Enabling Operational Intelligence