sqloledbTrusted connection

Provider=sqloledb;Data Source=myServerAddress;Initial Catalog=myDataBase;
Integrated Security
=SSPI;

Use serverName\instanceName as Data Source to use a specific SQL Server instance. Please note that the multiple SQL Server instances feature is available only from SQL Server version 2000 and not in any previous versions.

Connecting

This connection string (Trusted connection using sqloledb) can be used for connections to SQL Server 2000 and SQL Server 7.0.

Articlesread all »

Not the right connection string for you?

Start over in the connection string reference index.

You can also get help in the Q&A forums where you can ask your own question.

The kb articles contains how-tos and instructions and you can search for anything if you're not sure were to look.