Refreshing a List

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.

Visual Basic

To use the Refresh list method, use the following syntax:

Parent.ListObjects.Refresh

Do not call Refresh within a For Each loop.

C++

To use the Refresh list method, use the following syntax:

pListObjects->Refresh ( );