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