SQLSERVER.MOBILE.OLEDB.3.0Encryption enabled

Use this connection string to enable encryption on the database.

Provider=Microsoft.SQLSERVER.MOBILE.OLEDB.3.0;Data Source=myPath\myData.sdf;
SSCE:Encrypt Database


This connection string (Encryption enabled using SQLSERVER.MOBILE.OLEDB.3.0) can be used for connections to SQL Server Compact.

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.