CCorrectiveTask.GetTeams Method

Returns an array teams required for the task.

Remarks: Designed for VB6/VBA users, but can also be used in .NET. Alternatively, .NET users can use the  property in the class to get or set the teams.

Syntax
.GetTeams( arr)

Parameters
arr
 * Required as TeamInfo. An array of the team IDs for the task.

Example
VBA MyRepository Repository MyRepository.ConnectToAccessRepository MyRepository.Project.SetCurrentProject(1) aTask cCorrectiveTask aTask = MyRespository.Task.GetCorrectiveTask(2) Teams TeamInfo aTask.GetTeams(Teams)