IConnection Interface |
Namespace: Qlik.Engine
The IConnection type exposes the following members.
Name | Description | |
---|---|---|
ConnectionString | One of:
ODBC CONNECT TO [<provider name>]
OLEDB CONNECT TO [<provider name>]
CUSTOM CONNECT TO [<provider name>]
"<local absolute or relative path,UNC path >"
"<URL>"
Connection string.
This parameter is mandatory and must be set when creating or modifying a connection. | |
Id | Identifier of the connection.
Is generated by the engine and is unique. | |
Meta | Information about the connection. | |
ModifiedDate | Is generated by the engine.
Creation date of the connection or last modification date of the connection. | |
Name | Name of the connection.
This parameter is mandatory and must be set when creating or modifying a connection. | |
Password | Password of the user who creates the connection.
This parameter is optional; it is only used for OLEDB, ODBC and CUSTOM connections.
A call to GetConnection method does not return the password. | |
Type | One of:
ODBC
OLEDB
<Name of the custom connection file>
folder
internet
Type of the connection.
This parameter is mandatory and must be set when creating or modifying a connection.
For ODBC, OLEDB and custom connections, the engine checks that the connection type matches the connection string.
The type is not case sensitive. | |
UserName | Name of the user who creates the connection.
This parameter is optional; it is only used for OLEDB, ODBC and CUSTOM connections.
A call to GetConnection method does not return the user name. |