Scripting Samples



       Remote management scripts can be executed on client machines or on server for managing of configuration of server. Remote management routines included in netcom.dll. netcom.dll is a COM-object library and must be registered with "regsvr32 /i netcom.dll", if not registered.

 

       Rule event scripts can be executed only by server and can be used for logging statistics to text files, XML files or to databases.

This scripts has some restrictions:

You can't to change Adapter status (StartFilter, StopFilter methods raises exceptions, if you try to call this methods)
You can't to add new Rule, delete Rule or clear Rules.
You can't to add new RuleXXXEvent, delete RuleXXXEvent or clear RuleEvents.

 

       Module scripts can be executed only by server and can be used for logging statistics to text files, XML files or to databases or for manage service configuration. Unlike rule event scripts these scripts loaded at service startup and stays loaded always. These scripts and associated events executed more quickly because do not demand preliminary loading.