This function creates a connection and opens it, using a connection string.
If opening fails, then no connection is created. See Connection.from_string for more information.
| provider_name |
provider ID to connect to, or null |
| cnc_string |
connection string. |
| auth_string |
authentication string, or null |
| options |
options for the connection (see ConnectionOptions). |
|
a new Connection if connection opening was successful or null if there was an error. |