Help > Web Development > Object Reference > Object Reference > ISYSAsp > OpenIndex Method
<a name="kanchor249"></a>ISYSAsp:OpenIndex Method
Opens the given index ready for searching. If the index cannot be opened, an exception will be raised.

Note: This method is provided for compatibility with ISYS 6. New applications should use the ISYSSearch object (see QuerySource).

Syntax
[VBScript]
function ISYSAsp.OpenIndex(_
  string Path_ 
) as ISYSIndex
[C#]
IISYSIndex  IISYSEngine.OpenIndex(
  string Path
);
[ColdFusion/Java]
IISYSIndex  IISYSAsp.OpenIndex(
  java.lang.String Path
) throws ComException;
Parameters
PathThe path that contains the ISYS index

Examples
[VBScript]
<% dim ISYSAsp, ISYSIndex, ISYSResults set ISYSAsp = Server.CreateObject("ISYS.ISYSAsp") set ISYSIndex = ISYSAsp.OpenIndex("c:\index") set ISYSResults = ISYSIndex.PerformFind("managers", 0) %>
Remarks
If an index is opened an no ISYS permits are available, the index will be locked in exclusive mode.
See Also