CDOEXM in C#

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I'm fairly new to C# and I need to be able to enumerate the storage groups and mailstores on our Exchange 2k server.

So far, i've figured out that I need to ue CDOEXM which I've added as a COM reference.

I can instatiate a server object and iDataSource2:

CDOEXM.ExchangeServer ExchSrvr = new CDOEXM.ExchangeServerClass();
CDOEXM.IDataSource2 ds2;

But how do I attach the IDataSource2 with the server object?

Sorry if this is a bit basic.. I'm struggling.. <G> I was lookig at the article for this in VB.NET but I'm having difficulty making the transistion

After that, I have to do something like:

ds2.open(server, blah, blah, wossname, thing) I assume?

Bazz
 
Barry,
I have not used CDOEXM itself, so I cannot help you with specifics.

The following site provides a plethora of articles on using Outlook (and
Exchange Server) from .NET.

http://www.microeye.com/resources/res_outlookvsnet.htm

Hope this helps
Jay

Barry G Freeman said:
I'm fairly new to C# and I need to be able to enumerate the storage groups
and mailstores on our Exchange 2k server.
So far, i've figured out that I need to ue CDOEXM which I've added as a COM reference.

I can instatiate a server object and iDataSource2:

CDOEXM.ExchangeServer ExchSrvr = new CDOEXM.ExchangeServerClass();
CDOEXM.IDataSource2 ds2;

But how do I attach the IDataSource2 with the server object?

Sorry if this is a bit basic.. I'm struggling.. <G> I was lookig at the
article for this in VB.NET but I'm having difficulty making the transistion.
 
Barry,
I was thinking the articles on CDOEX were on CDOEXM...

Don't the CDOEX articles help enough to get you going in CDOEXM? Especially
the articles on using Reflection to call into CDO?

I'm checking a couple sources, but nothing yet.

Hope this helps
Jay
 
hmm.. I'll check them out more deeply.
Looking forwards to being able to do Exchange as easily as active
Directory
BAzz
Barry,
I was thinking the articles on CDOEX were on CDOEXM...

Don't the CDOEX articles help enough to get you going in CDOEXM? Especially
the articles on using Reflection to call into CDO?

I'm checking a couple sources, but nothing yet.

Hope this helps
Jay
 
Back
Top