CScheduledTask.GetCrewIDs Method

Returns an array containing the numeric IDs of the crews assigned to the task. Long.

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

Syntax
.GetCrewIDs(arr)

Parameters
arr
 * Required. Long. An array of the numeric IDs of the crews assigned to the task.

Example
VBA aTask cScheduledTask myarray aTask.GetCrewIDs(myarray) i   upper lower lower = (myarray) upper = (myarray) i = lower upper MsgBox (myarray(i)) i