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

Problems connecting?
Get answer in the Exchange Q & A forum

Exchange OLE DB provider

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.

.NET Framework Data Provider for OLE DB

  • 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.

Q&Aask question »

Connect

Articlesread all »

Didn't find your connection string?

Start over from the connection string reference index - or try a search!

In the Q&A forums you can ask your own question and let somebody help you.

The knowledge articles contains solutions and guides.