Help > Web Development > Object Reference > Object Reference > ISYSIndexer > IDBFunctionEx Method
<a name="kanchor439"></a>ISYSIndexer:IDBFunctionEx Method
Perform an IDBFunction against the index.

Syntax
[VBScript]
sub ISYSIndexer.IDBFunctionEx(_
  string Command, _ 
  object lpNotify, _ 
  string NotifyFunction_ 
)
[C#]
void IISYSIndexer.IDBFunctionEx(
  string Command, 
  object lpNotify, 
  string NotifyFunction
);
[ColdFusion/Java]
void IISYSIndexer.IDBFunctionEx(
  java.lang.String Command, 
  object lpNotify, 
  java.lang.String NotifyFunction
) throws ComException;
Parameters
CommandIDBFunction command to execute
lpNotifyThe object that implements the function specified in NotifyFunction
NotifyFunctionThe name of a function which is to be called back with events

Examples
[VBScript]
<% class IDBFunctionNotify sub Notify(message, type, p1, p2, p3) Response.Write message end sub end class set notifer = new IDBFunctionNotify set indexer = Application("ISYSIndex").Indexer indexer.IDBFunctionEx "REINDEX", notifer, "Notify" %>
Remarks
The function you must implement needs to take the following form:

sub NotifyFunction(message, type, param1, param2, param3)

Options

messageContains text returned from the ISYS engine which can be displayed to the user
type Indicates the type of message. Main be one of the following values:
MStreaming Message. The message contains a string that is to be displayed to the user.
SEstablish Titles. The message contains a title which serves as a title to the streaming messages.
RRewrite Streaming Message. The message should replace the last streaming message displayed.
BScan Progress. Indicates progress of the scanning process. Param1 indicates the progress parameter, Param2 indicates its new value.
CDeindexing. Indicates the de-indexing phase has commenced.
DDeletion Progress. Indicates progress of the deletion phase.
EReading. Indicates the reading phase has commenced.
FReading Progress. Indicates progress of reading documents. Param1 contains the number of documents index, Param2 contains words index, Param3 contains documents remaining.
HSame as F
FUpdating. Indicates the updating phase has commenced.
See Also