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" <(E-Mail Removed)> wrote in message
news:A28177C5-BFB6-4F51-AA18-(E-Mail Removed)...
> 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
>
>