|
|
PRELIMINARY INFORMATION - SUBJECT TO CHANGE
This document is provided on an "AS IS" basis without warranties of any kind. Smartsite iXperion class libraries may change in future releases.
Adds the connection string to the list of dynamic database connections.
Namespace: Smartsite.Runtime.Modules
Assembly: Smartsite.Runtime.Modules (in Smartsite.Runtime.Modules.dll)
Syntax
| C# | |
|---|---|
[(Name = "{0}.Connections.Add")]
public static void ConnectionsAdd(
string id,
string connectionString,
string providerName
) | |
| Visual Basic (Declaration) | |
|---|---|
<(Name := "{0}.Connections.Add")> _
Public Shared Sub ConnectionsAdd ( _
id As , _
connectionString As , _
providerName As _
) | |
Parameters
- id
- String
Id of the database.
- connectionString
- String
Connection string to the database.
- providerName
- String
Name of the database provider. Examples: System.Data.SqlClient for SqlServer (default) or Oracle.DataAccess.Client for Oracle.
See Also
DatabaseViperModule Class
Smartsite.Runtime.Modules Namespace