Configuration |
Config (top level object)Access Unbrowse SNMP system configuration and custom store. Usage Note : You typically use the UnbrowseSNMP.Config object to store user names, passwords, mail server details outside of your script.
The top level object to access the agent manager is called "UnbrowseSNMP.Config"
EventsNoneProperties and Methods
Well known propertiesYou can store your scripts data in these properties. You can modify these values using the GUI (Tools > Customize > Repository) then click on the Edit Custom Storage button.
ExampleYou can store an email server name and password via the Unbrowse User Interface (see above), then in your script, you can access them as properties.
Set Cfg = WScript.CreateObject("UnbrowseSNMP.Config") WScript.Stdout.WriteLine "Email password = " & Cfg.GetProperty("security.email_password") WScript.Stdout.WriteLine "DB conn = " & Cfg.GetProperty("security.db_connectstring") WScript.Stdout..WriteLine "DB passw = " & Cfg.GetProperty("security.db_password")
|