Packages Collection

The Packages collection contains all Package objects in a model.

Discussion

Use this collection to select or remove a Package object.

This IBM® Cognos® requires that the IBM Cognos server is installed and running. By definition, a package can be a subset of a Transformer model that is made available to the IBM Cognos server. The collection count is 0 if the model does not use Packages.

To return this collection, use the Packages property.

Use the Add method to add a new Package object to the collection. Use the Remove method to remove a Package object.

These tables list related methods and properties.

Method

Description

Add Method ()

Adds a Package object to the collection.

Item Method

Selects a specific Package object in the collection.

Remove Method

Removes a specific Package object from the collection

Property

Description

Application Property

Returns the Transformer Application object.

Count Property

Returns the number of Package objects in the collection.

Parent Property

Returns the parent object.

Examples

packages = model.Packages