Connection strings for Exchange

OLE DB providers for Exchange

.NET libraries for Exchange

Exchange OLE DB provider

Type OLE DB Provider
Usage ExOLEDB.DataSource
Manufacturer Microsoft

Exchange OLE DB provider


Specify store in the connection open command like this: "http://servername/mypublicstore"

Check out this article at InformIT.


.NET Framework Data Provider for OLE DB

Type .NET Framework Wrapper Class Library
Usage System.Data.OleDb.OleDbConnection
Manufacturer Microsoft

Use an OLE DB provider from .NET

Provider=any oledb provider's name;OledbKey1=someValue;OledbKey2=someValue;

See the respective OLEDB provider's connection strings options. The .net OleDbConnection will just pass on the connection string to the specified OLEDB provider. Read more here.



Type .NET Framework Class Library
Manufacturer Microsoft


ExDAV.ExSearcher searcher = new ExDav.ExSearcher("");
searcher.Depth = ExDAV.ExRequest.ExRequestDepths.AllChildrenWithRoot;
searcher.ExProps.Add("DAV:", "creationdate");
ExDAV.ExResponse resp = searcher.Search("WHERE \"DAV:isfolder\" = true");

System.Data.DataSet ds = resp.GetDataSet("dsMyExDataSet", "dsMyExTableName");

Check out this article for details on how to access Exchange data from .NET.