ConnectionElement Enumeration |
Enum which specifies element definitions which are used to store database connection information.
This information is passed to a driver which can use this information to construct a connectionstring
Namespace:
SD.LLBLGen.Pro.DBDriverCore
Assembly:
SD.LLBLGen.Pro.DBDriverCore (in SD.LLBLGen.Pro.DBDriverCore.dll) Version: 5.10.0.0 (5.10.0)
Syntax public enum ConnectionElement
Public Enumeration ConnectionElement
Members
| Member name | Value | Description |
---|
| ServerName | 0 |
The server name / IP number / TNSName of the database server to connect to. Used by all drivers except Access
|
| CatalogName | 1 |
The database / catalog to work with in catalog oriented systems
|
| SchemaName | 2 |
The schema to work with in schema oriented systems.
|
| UseWindowsAuthentication | 3 |
If available, integrated/windows security should be used.
|
| UserID | 4 |
User ID specified.
|
| Password | 5 |
Password specified
|
| PortNumber | 6 |
Portnumber to connect to.
|
| DatabaseFile | 7 |
Database file to connect to. Used by file based databases like Access, firebird/Interbase
|
| SecurityFile | 8 |
Security file which contains security info for the driver. Access specific.
|
| CharSet | 9 |
Charset to use.
|
| DatabasePassword | 10 |
Used in Access for the database file password to use.
|
| Encoding | 11 |
Encoding to use.
|
| SslMode | 12 |
SSL mode to use.
|
| Protocol | 13 |
Protocol to use.
|
| UseEncryption | 14 |
Will specify that the client will use encryption using the connection string.
|
| UseTransientErrorRecovery | 15 |
Will use a transient error recovery strategy. Useful with cloud databases.
|
| ProjectID | 16 |
The project id to use.
|
| InstanceID | 17 |
The instance id to use.
|
| CurrencyScale | 18 |
The currencyscale to use for currency values.
|
| UseAzureActiveDirectory | 19 |
Whether azure active directory should be used (true) or not (false).
|
| ConnectionDataConfigType | 20 |
The type of connection data config to use. This is an untyped value, which resolves to an enum that has to be defined at
the driver. Can mean different things depending on the driver used. E.g. for oracle ODP.NET, it's used to specify whether TSNName or cli-less
config data is used.
|
| ServiceName | 21 |
The name of the service to connect to. Mainly used for Oracle cli-less (ODP.NET, managed), where one has to specify server and service.
|
See Also