[VBScript]
<%
set Indexer = ISYSIndex.Indexer
Indexer.ExecMethod Array("SetLogFile", "C:\ISYS.LOG")
Indexer.IDBFunction "STATISTICS"
%>
[C#]
// 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
Indexer = ISYSIndex.Indexer;
// Instruct ISYS to send output to log file
Indexer.ExecMethod( new object[] { "SetLogFile", "C:\\ISYS.LOG" } );
// Gather the statistics about the index
Indexer.IDBFunction("STATISTICS");
|