Help > Web Development > Object Reference > Object Reference > ISYSIndexer > RunTransaction Method
<a name="kanchor441"></a>ISYSIndexer:RunTransaction Method
Run the specified transaction file against the index.

Syntax
[VBScript]
sub ISYSIndexer.RunTransaction(_
  string TransFile, _ 
  long Expire_ 
)
[C#]
void IISYSIndexer.RunTransaction(
  string TransFile, 
  long Expire
);
[ColdFusion/Java]
void IISYSIndexer.RunTransaction(
  java.lang.String TransFile, 
  long Expire
) throws ComException;
Parameters
TransFileThe transaction file you wish to run against the index
ExpireSet to 0 to not time-out and expire documents, otherwise set this to the number of minutes beyond which if a document has not been heard of, will be assumed to no longer exist and will be removed from the index

Examples
[VBScript]
<% ' transactionFile contains the name of the transaction file ' that you have built. set indexer = Application("ISYSIndex").Indexer indexer.RunTransaction(transactionFile, 0) %>
See Also