Exchange with OLE DB provider

In this article I will explain how to use Exchange with OLE DB provider.
  • 1599

Introduction

This is just one connection string sample for the wrapping OleDbConnection class that calls the underlying OLEDB provider. See respective OLE DB provider for more connection strings to use with this class.

Coding

Include "ExOLEDB.DataSource" in the connection string to use this provider.


OLE DB provider

ExOLEDB.DataSource

 

Bridging to Exchange OLE DB provider

ExOLEDB.DataSource

 

ExDAV with 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");


You may also want to read these related articles :
here

Ask Your Question 

Got a programming related question? You may want to post your question here

Programming Answer here

Categories

More Articles

© 2020 DotNetHeaven. All rights reserved.