ITrkItem.ItemId (read-only property)

property ItemId
Syntax: String = object.ItemId
Description:
The ItemId property returns the item id of the given item.

Example:

Dim oTrkItemAgent As Object
Dim oTrkItems As Object
Dim oTrkItem As Object
Set oTrkItemAgent = CreateObject("Tracker.TrkItemAgent")
oTrkItemAgent.Execute oTrkItems
Set oTrkItem = oTrkItems.Item(1)
msgbox oTrkItem.ItemId