Help > Web Development > Object Reference > Object Reference > ISYSEngine > OpenIndexEx Method
<a name="kanchor370"></a>ISYSEngine:OpenIndexEx Method
Opens the given index ready for searching using the specified flag. If the index cannot be opened, an exception will be raised.

Syntax
[VBScript]
function ISYSEngine.OpenIndexEx(_
  string Path, _ 
  long Flags_ 
) as ISYSIndex
[C#]
IISYSIndex  IISYSEngine.OpenIndexEx(
  string Path, 
  long Flags
);
[ColdFusion/Java]
IISYSIndex  IISYSEngine.OpenIndexEx(
  java.lang.String Path, 
  long Flags
) throws ComException;
Parameters
PathThe path that contains the ISYS index
FlagsThe flags used when opening the index
isysOpenRead0Opens the index in read only mode.
isysOpenReadWrite1Opens the index for both reading and writing.
isysEnableSecurity4096Indicates that ISYS should enable security for this index. This is useful when you wish to filter results list using Integrated Windows Security.

Examples
[VBScript]
<% dim ISYSAsp, ISYSIndex, ISYSResults set ISYSAsp = Server.CreateObject("ISYS.ISYSAsp") set ISYSIndex = ISYSAsp.OpenIndexEx("c:\index" ISYS_OpenReadOnly) set ISYSResults = ISYSIndex.PerformFind("managers", 0) %>
See Also