ITrkItem.ProjectName (read-only property)

property ProjectName
Syntax: BSTR*pVal = object.ProjectName
Description:
The ProjectName method will return the project where the given 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)
MsgBox oTrkItem.ProjectName