When you use the Refresh list method, SQL-DMO updates the index of identifiers for that list. This does not release or invalidate any object variables you have that refer to an object in the refreshed list.
To use the Refresh list method, use the following syntax:
Parent.ListObjects.Refresh
Do not call Refresh within a For Each loop.
To use the Refresh list method, use the following syntax:
pListObjects->Refresh ( );