Exchange connection strings

CData ODBC Driver for Exchange 2015

Standard

Driver={CData ODBC Driver for Exchange 2015};Server='https://outlook.office365.com/EWS/Exchange.asmx';Platform='Exchange_Online';User='myUser@mydomain.onmicrosoft.com';Password='myPassword';

Specifying Exchange version

Use Platform to specify your Exchange version

Driver={CData ODBC Driver for Exchange 2015};Server='https://myExchangeServer/EWS/Exchange.asmx';Platform='Exchange2010_SP2';User='myUser@mydomain.com';Password='myPassword';

Valid values for the Platform property are: Exchange2007, Exchange2007_SP1, Exchange2010, Exchange2010_SP1, Exchange2010_SP2, Exchange2013, Exchange2013_SP1 and Exchange_Online

ExDAV

ADO.NET

ExDAV.ExSearcher searcher = new ExDav.ExSearcher("http://mystore.edu/myresource");
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.