The AddToCache method adds a key or value map to the Lookup object cache.
| DTSDataPumpLookup Object |
object.AddToCache(
DataValues,
ParamArray KeyValues())
| Part | Description |
|---|---|
| object | Expression that evaluates to an object in the Applies To list |
| DataValues | Data value |
| KeyValues | Key value |
Either the key or value map may be a variant array.
HRESULT AddToCache(DataValues, SAFEARRAY * KeyValues);