CScheduledTask.GetPools Method

Returns an array of 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 Pools IDs and number of parts.

Syntax
.GetPools( 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
VBA aTask cScheduledTask myarray aTask.GetPools(myarray) i   upper lower lower = (myarray) upper = (myarray) i = lower upper MsgBox "Pool ID = " & myarray(i).ID &". Number of Parts = " & myarray(i).NumParts i