The Refresh method updates the cached information for the associated collection by scanning the registered classes in the operating system registry.
collection.Refresh
Part | Description |
---|---|
collection | Expression that evaluates to a collection in the Applies To list |
Data Transformation Services (DTS) maintains a cache (in the registry) of the components of each collection in the Applies To list. When iterating through any of the collections the appropriate cache is examined, rather than all registered classes, when the UseCache property is True. Use the Refresh method to refresh the appropriate cache from the system registry.
HRESULT Refresh( );