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.Exchange Server ExchSrvr = new CDOEXM.Exchange ServerClass();
CDOEXM.IDataSou rce2 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 2 5149
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.*******@sdgw orld.net> wrote in message
news:A2******** *************** ***********@mic rosoft.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.Exchange Server ExchSrvr = new CDOEXM.Exchange ServerClass(); CDOEXM.IDataSou rce2 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 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.demo n.co.uk> wrote in message
news:fk******** *************** *********@4ax.c om... 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.*******@sdgw orld.net> wrote in message news:A2******* *************** ************@mi crosoft.com... I'm fairly new to C# and I need to be able to enumerate the storage
groupsand 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.Exchange Server ExchSrvr = new CDOEXM.Exchange ServerClass(); CDOEXM.IDataSou rce2 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 This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
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
(http://msdn.microsoft.com/library/en-us/wss/wss/_cdo_enumerating_storage_groups_and_stores.asp)
to do this.
I used makepy.py (on 'Microsoft CDO for Exchange Management Library')
to generate early binding and thought everything was going fine, but I
get the following...
|
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 IMailboxStore interface there
existed a MailboxClass class, which does have quite a few
properties that would be wonderful to explore.
I have tried casting, but that is illegal, and there is no
mention of this class or its use anywhere that I have...
|
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 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?
|
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 based domain with
Exchange 2003 installed.
I have installed Exchange 2003 System Management Tools on the WinXP computer
which works fine to create and edit users.
I am logged in with a security context that has permissions to make changes
|
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 user has
access to. In other words, if I'm finding out info for user jdoe, I
can get a list of users who have access to jdoe's mailbox, but I can't
get a list of mailboxes that jdoe can access. MUCH thanks to any who
can help!
Blessings,
TM
| |
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 has access to. In
other words, if I'm finding out info for user jdoe, I can get a list of
users who have access to jdoe's mailbox, but I can't get a list of
mailboxes that jdoe can access. MUCH thanks to any who can help!
Blessings,
TM
|
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 added. Converting the type library to a .Net assembly failed. A depended type library 'CDO' could not be converted to a .NET assembly. A dependent type library 'ADODB' could not be converted to a .NET assembly. Item has already been added."
...
|
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 mailbox I get the following
exception:
System.Runtime.InteropServices.COMException (0x8000FFFF): Catastrophic
failure at CDOEXM.IMailboxStore.CreateMailbox(String HomeMDBURL)
|
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 any
constructive insight.
Our basic server setup is as follows:
Server 1 (Webserver):
|
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
Components", but I can't find those anywhere?
http://www.microsoft.com/technet/scriptcenter/topics/exchange/exchange_roadmap.mspx#EZG
Anyone?
|
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |