ITrkHold.ProjectName (read-only property)

property ProjectName
Syntax: String = object.ProjectName
Description:
The ProjectName property shows the project where the item resides.


Example:

Dim oTrkItemAgent As Object
Dim oTrkItems As Object
Dim oTrkHold As Object
Dim oTrkHolds As Object

Set oTrkItemAgent = CreateObject("Tracker.TrkItemAgent")
oTrkItemAgent.Execute oTrkItems
Set oTrkItem = oTrkItems.Item(1)
Set oTrkHolds = oTrkItem.Holds
Set oTrkHold = oTrkHolds.Item(1)
MsgBox oTrkHold.ProjectName