AddLookup Method (DTS)

The AddLookup method adds a parameterized query to the Lookups collection.

Applies To
Lookups Collection  

Syntax

object.AddLookup(
Name,
Query,
ConnectionID,
[MaxCacheRows])

Part Description
object Expression that evaluates to an object in the Applies To list
Name Lookup query name
Query Query string
ConnectionID Connection ID
MaxCacheRows Maximum number of cache rows

Prototype (C/C++)

HRESULT AddLookup(BSTR Name,
BSTR Query,
long ConnectionID,
long MaxCacheRows);

  


(c) 1988-98 Microsoft Corporation. All Rights Reserved.