Exago .NET API Documentation
SetOption Method
Example 
WebReports.Api.ReportMgmt Namespace > StorageMgmtConfig Class : SetOption Method
The name (key) of the option in the dictionary to set. See the table of keys under "option" in the Config File XML Reference for a list and description of the built-in keys. Custom keys may also be used.
The value to store for the key.

Set the value of one of the Storage Management options.

There is a dictionary of options passed around the Storage Management system that stores pertinent information for the database, but additional key-value pairs can be added.

Syntax
public void SetOption( 
   System.string key,
   System.string value
)

Parameters

key
The name (key) of the option in the dictionary to set. See the table of keys under "option" in the Config File XML Reference for a list and description of the built-in keys. Custom keys may also be used.
value
The value to store for the key.
Example
Configure the Storage Management Database Connection
api.SetupData.StorageMgmtConfig.SetOption("DbType", "SQLite");
api.SetupData.StorageMgmtConfig.SetOption("DbProvider", "Sqlite");
api.SetupData.StorageMgmtConfig.SetOption("ConnectionString", "Data Source=C:\\Program Files\\ExagoWeb\\Config\\Storage.sqlite");
See Also

Reference

StorageMgmtConfig Class
StorageMgmtConfig Members