ITrkRegion.ArchiveItem (method)

method ArchiveItem
Syntax: object.ArchiveItem bItem, bRef
Parameters:
bItem As String -

Item ID - Item ID of the item to be archived
bRef As String -

Reference ID - Reference ID of the item to be archived
Description:
The ArchiveItem method will delete the given item from the region and remove it from the PRT model.

Example:

Dim oRegionAgent As Object
Set oRegionAgent = CreateObject("Tracker.TrkRegionAgent")
Dim oRegions As Object
Dim oRegion As Object
oRegionAgent.ProjectID = "PA1"
Set oRegions = oRegionAgent.Execute
Set oRegion = oRegions.Item(1)
oRegion.ArchiveItem "A1", ""
...
...