ITrkItem.Refresh (method)

method Refresh
Syntax: VARIANT_BOOL*pVal = object.Refresh ( )
The Refresh method will requery the database for attribute data for the given item. It will return False if the item can no longer be found.


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)
If Not oTrkItem.Refresh Then
    MsgBox "Item is no longer on this node!"
End If