Previous in Contents Next in Contents

Query Key

Associated Value Type

String (VT_BSTR)

Description

Different agents use this key/value pair differently.  The uses are listed below for each applicable agent.

Database Agent

The Database agent (databaseagent.vbs) uses the value associated with the "query" key to set the CommandText property of the class ADODB.Command object used to query the database.

Search Agent

The Search agent (searchagent.vbs) uses the string value associated with the "query" key to set the class MSSearch.Query object's Query property.

Promotions Agent

The Promotions agent (promotionsagent.vbs) uses the string value associated with the "query" key to set the CommandText property of the class ADODB.Command object.

Example

Channel.RefreshOptions("query")="Select * from ChannelItems"

Applies to Agents

Database
Search
Promotions


© 1997-2000 Microsoft Corporation. All rights reserved.