Initializes the static variables and checks licensing. Done the first time an iBO object is created.
Should not need to be done more than one time - at system start up.
Namespace:
Asi.iBOAssembly: Asi.iBO (in Asi.iBO.dll) Version: 15.1.2.0
Syntax
| C# |
|---|
public static void InitializeSystem() |
| Visual Basic (Declaration) |
|---|
Public Shared Sub InitializeSystem |
| Visual C++ |
|---|
public: static void InitializeSystem() |
Remarks
The iMIS instance that iBO is connected to is the one referenced by the database connection string
set when iBO is initialized via this method. The connection string comes from the config file for this
application and the key "DataSource.SqlClient.Connection". Once the system is initialized, all system
settings and reference data for this application come from the database referenced by this connectionString.
Examples
Sample value for connection string found in the config file:
<appSettings>
<add key="DataSource.SqlClient.Connection" value="Data Source=rwenger-wxp;User ID=sa;Password=;Initial Catalog=iMISGeoCopy; Network Library=dbmssocn" />
</appSettings>