Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
Names a connection so that switching to it is easier in multi-connection applications.
No connection name.
The CON connection parameter is global to the application.
Do not use this connection parameter unless you are going to establish and switch between two or more concurrent connections.
The connection name is not the same as the database name.
Any leading or trailing spaces in parameter values are ignored. This connection parameter's value cannot include leading single
quotes, leading double quotes, or semicolons.
The following connection string fragment sets the first connection name to MyFirstCon.