473,416 Members | 1,719 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,416 software developers and data experts.

CDOEXM in C#

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
Nov 22 '05 #1
2 5134
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" <B.*******@sdgworld.net> wrote in message
news:A2**********************************@microsof t.com...
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

Nov 22 '05 #2
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

"Barry Freeman" <Ba**@foxx.demon.co.uk> wrote in message
news:fk********************************@4ax.com...
It's an interesting collection, but doesn't help in this case
unfortunately.

On Mon, 1 Mar 2004 09:55:33 -0600, "Jay B. Harlow [MVP - Outlook]"
<Ja************@msn.com> wrote:
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" <B.*******@sdgworld.net> wrote in message
news:A2**********************************@microso ft.com...
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
thearticle 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


--
BAzz

Nov 22 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Erick Bodine | last post by:
I am trying to get a list of Storage Groups on an Exchange Server (E2K) with an eye towards deleting/creating more. I am going off of the Exchange SDK docs in msdn...
0
by: Dave Spina | last post by:
I have been working with the System.DirectoryServices namespace and the CDOEXM COM objects in a recent project. After probing the CDOEXM object set for a while I noticed that beyond the usual...
4
by: Barry G Freeman | last post by:
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...
0
by: Ingram Leedy | last post by:
Hi, I am using the example from Microsoft Knowledge Base Article - 313114, "HOW TO: Create a MailBox-Enabled Recipient by using C#.NET". The WindowsXP computer is part of the Microsoft 2003...
1
by: TM | last post by:
Greetings, I've more or less figured out how to get a list of users who have access to a particular user's mailbox (code below), but I'm stumped as to how to get a list of users that a particular...
0
by: TM | last post by:
Greetings, I've more or less figured out how to get a list of users who have access to a particular mailbox (code below), but I'm stumped as to how to get a list of mailboxes that a particular user...
8
by: Rob Edwards | last post by:
When trying to add the Microsoft CDO for Exchange Management Library (aka CDOEXM.dll) I receive the following message: "A reference to 'Microsoft CDO for Exchange Management Library' could not be...
0
by: Mandy | last post by:
Hi, I am trying to create a exchange mailbox-enabled user on Exchange Server 2003 via w ASP.NET web applcation (written in C#). I can create the user successfully but when I try to create the...
0
by: KPipher | last post by:
Hello, I'm having trouble implementing the CDOEXM Namespace in an asp.net application (VB.NET). I've read many conflicting discussions surrounding the use of CDOEXM remotely and would appreciate...
0
by: Tommy Holm Jakobsen | last post by:
Hi, In my csproj, how can I add a reference to the CDOEXM library, so I can manage my Exchange 2003 server remotely? According to the following URL, I have to install the "Exchange Management...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.