AddToCache Method

DTS Programming

DTS Programming

AddToCache Method

The AddToCache method adds a key and value mapping to the lookup object cache.

Applies To
DTSDataPumpLookup Object
Syntax

object.AddToCache(
DataValues,
ParamArray KeyValues())

Part Description
object Expression that evaluates to a DTSDataPumpLookup object
DataValues Data values
KeyValues Key values

Prototype (C/C++)

HRESULT AddToCache(
    VARIANT DataValues,
    SAFEARRAY * KeyValues);

Remarks

Either the key or value parameters may be a variant array.

See Also

Execute Method

RemoveFromCache Method