Release 1.3 - ...
<connectionstring> element
Defines the connection string to the SmiServer database used for this site. Each site must have its own database. For Oracle databases you must use the providername attribute with the value "Oracle.DataAccess.Client".
Example
XML |
Copy Code
|
<site name="MySqlServerSite">
<connectionstring>Password=12345;Persist Security Info=True;User ID=sa;Initial Catalog=MySite_SMI;Data Source=mydb</connectionstring>
</site>
<site name="MyOracleSite">
<connectionstring providername="Oracle.DataAccess.Client">Password=12345;Persist Security Info=True;User ID=MySite_SMI;Data Source=mydb</connectionstring>
</site>
|
Attributes
Attribute name |
Required |
Description |
providername |
No |
Defines the database provider that is used to access the database. For SqlServer you do not need to specify this attribute. For Oracle you must specify this attribute with the value "Oracle.DataAccess.Client". |
Parent element
Element name |
Description |
<site> |
Defines an Smi site. |
Child elements
None.