getPartitions(partitionList: JadeDbFilePartitionArray input; maxEntries: Integer);
The getPartitions method of the DbFile class populates the partitionList parameter with JadeDbFilePartition instances; one for each partition of the associated database file.
If the value of the maxInstances parameter is non-zero, the array contains an entry for the number of latest partitions specified by the maxInstances parameter; otherwise it contains an entry for all partitions that have not been removed.
An exception is raised if the database file is not partitioned.
Remember to remove the transient objects created by using the getPartitions method, as shown in the following code fragment.
epilog partitionList.purge; delete partitionList; end;