Methods
- Func Add( iResource) As
-
This method add the specified item in the current list
- Parameters:
-
- iItem
- The item to add dd>
- Returns:
- oitem The item dd>
- Func AddByAssignmentType( iResource, iAssignmentType) As
-
This method Assigns/Adds the specified resource with the specified assignment type
- Parameters:
-
- iResource
- The resource to be assigned dd>
- iAssignmentType
- Type of the Assignment (Resource to the Process). Only the following four types are supported at the moment: Process_Uses_Resource, Process_Runs_On_Resource, Process_Attaches_Resource, Process_Detaches_Resource dd>
- Returns:
- oResource The resource when Add succeeds, unchanged otherwise dd>
- Func Item( iIndex) As
-
This method returns the idl object Resource for the specified resource
identifier.
- Parameters:
-
- iIndex
- The resource identifier dd>
- Returns:
- oResource The idl resource dd>
- Func RemoveByAssignmentType( iResource, iAssignmentType) As
-
This method Unassigns/Removes the specified resource if the assignement exists and
is of the given type
- Parameters:
-
- iResource
- The resource to be Unassigned dd>
- iAssignmentType
- Type of the Assignment (Resource to the Process) to be removed dd>
- Returns:
- oResource The resource when Remove succeeds, unchanged otherwise dd>