Refresh Method

DTS Programming

DTS Programming

Refresh Method

The Refresh method updates the cached information for the associated collection by scanning the registered classes in the operating system registry.

Applies To
OLEDBProviderInfos Collection TaskInfos Collection
ScriptingLanguageInfos Collection  
Syntax

collection.Refresh

Part Description
collection Expression that evaluates to a collection in the Applies To list

Remarks

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.

Prototype (C/C++)

HRESULT Refresh( );

See Also

Retrieving DTS System, Package, and Log Data

UseCache Property