Repository.Task.GetAllTaskTypes

Gets a list of RCM++ or RBI task types associated with a Synthesis repository. Returns a TaskTypeInfo object array that contains all the defined task types in that repository.

Syntax
.Task.GetAllTaskTypes

Example
This example assumes that task types have been defined in a Synthesis repository.

VBA|VB.NET MyRepository Repository ListofTaskTypes TaskTypeInfo ListofTaskTypes = MyRepository.Task.GetAllTaskTypes NumberofElements Integer NumberofElements = UBound(ListofTaskTypes) - LBound(ListofTaskTypes) + 1 MsgBox (NumberofElements)