SetOption (ILLDataProvider)

Syntax:

HRESULT SetOption (enOptionIndex nIndex, const VARIANT* vValue);

Task:

Only used at node level. List & Label transfers additional information about the status of the data provider. These can be used in the implementation for optimizations.

Parameter:

nIndex: One of the following values

OPTION_HINT_MAXROWS, is set, for example, to restrict an underlying SQL statement in the data object to vValue rows.

OPTION_HINT_IS_INFO_QUERY, is set if the data provider only queries structure information to dynamically fill the field names in the variable tree in List & Label Designer, for example.

All other constant values are currently only for internal use and can be ignored.

 vValue: The variable value

Return value:

E_NOTIMPL for root objects, otherwise S_OK