COM API

Configuration object

Example | Applies To | Properties | Methods | Events

This object is used to access data from Eilocal.ini and Eiglobal.ini.

The Configuration property gets the configuration object of the object.

Parameters

Example

sServerName = m_EHIApplication.Configuration(eiGlobalSiteScope).Segment("Database").KeyValue("Server")

This assigns the value of the Server setting in the [Database] section of Eiglobal.ini to the sServerName variable.

If you directly apply the KeyValue property to the Configuration(eiLocalMachineScope) object, INVOICES assumes the value of Segment (in Eilocal.ini) to be [ModuleName::PluginName], where ModuleName and PluginName are the actual names of the INVOICES module and plug-in, respectively.

ConfigurationSegment object