Help > Web Development > Object Reference > Object Reference > ISYSIndexer > IDBFunction Method
<a name="kanchor438"></a>ISYSIndexer:IDBFunction Method
Performs the given IDB command on the index.

Syntax
[VBScript]
sub ISYSIndexer.IDBFunction(_
  string Command_ 
)
[C#]
void ISYSIndexer.IDBFunction(
  string Command
);
[ColdFusion/Java]
void IISYSIndexer.IDBFunction(
  java.lang.String Command
) throws ComException;
Parameters
CommandThe IDB command to perform

Examples
[VBScript]
<% ' This sample demonstrates executing and IDBFunction and sending it's output ' to a text file. ' Obtain a reference of the Indexer from an open index set Indexer = ISYSIndex.Indexer ' Instruct ISYS to send output to log file Indexer.ExecMethod Array("SetLogFile", "C:\ISYS.LOG") ' Gather the statistics about the index Indexer.IDBFunction "STATISTICS" %>
See Also