CScheduledTask.SetPools Method

Sets the Pool IDs and number of parts for all pools required for the task.

Remarks: Alternatively, .NET users can use the  property in the class to get or set the crew IDs.

Syntax
.SetPools( arr)

Parameters
arr
 * Required as PoolInfo. An array of the Pool IDs and the number of parts for all pools required for the task.

Example
This example assumes that the repository contains existing pools. VBA aTask cScheduledTask myarray(1) myarray(0).ID = 2 myarray(0).NumParts = 3 myarray(1).ID = 4 myarray(1).NumParts = 5 aTask.SetPools(myarray)