CDO for Exchange Management
CDO for Exchange Management
This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.
CDO for Exchange Management (CDOEXM) is a collection of Component Object Model (COM) classes and interfaces aggregated into Collaboration Data Objects (CDO) and Active Directory® Service Interfaces (ADSI) classes. You can use CDOEXM to manage Microsoft® Exchange servers, mailbox stores, public stores, public folder trees, storage groups, and Exchange recipients (users, contacts, and groups) programmatically. You can use CDOEXM objects on your server. On computers where the Exchange Management components are installed, you can manage Exchange remotely. You can use CDO to work with items in the stores.
CDOEXM is useful for system administrators who need to do such things as manage the server remotely. You can also use CDOEXM for server applications typically used in Internet applications, such as automatic registration of users and e-mail management. CDOEXM encapsulates and simplifies many programmatic tasks that are specific to managing Exchange 2000 Server.
CDOEXM provides five COM classes for managing Exchange Server 2003 and its MDBs. The CDOEXM object models are at CDO for Exchange Management Objects.
All CDOEXM interfaces are Automation compatible and thus can be used in Microsoft Visual Basic® and scripting.
The classes and their uses are briefly described in this topic.
The Server COM Class
The ExchangeServer COM class is for managing the overall Exchange 2000 Server. The IExchangeServer interface on this class allows you to obtain information such as the name of the server, the type of the server, version of the server, and the storage groups that are on the server. You can also set server characteristics such as enabling or disabling message tracking, or setting the number of days before log files are removed.
The FolderTree COM Class
The FolderTree COM class is for creating, managing, and deleting folder trees. The IFolderTree allows you to manage the folder tree and the tree replicas.
For more information, see Managing Exchange Server.
The StorageGroup COM Class
The StorageGroup COM class allows you to create, manage, and delete storage groups. When you create a store, you must place it in a storage group. The storage group management tasks include managing log files for the group and resetting the database for the stores. The IStorageGroup Interface allows you to access the underlying Microsoft Jet database configuration information for your stores.
For more information, see Setting Up a Store.
The PublicStoreDB COM Class
The PublicStoreDB COM class is for managing public stores in Exchange 2000 Server. The IPublicStoreDB Interface allows you to create, modify, and delete public stores.
Users of the Exchange store access public stores through folder trees.
The MailboxStoreDB COM Class
The MailboxStoreDB COM class is for creating and deleting Exchange 2000 Server mailbox stores. Individual mailboxes are created in and managed from mailbox stores. The IMailboxStoreDB interface allows you to mount or dismount a mailbox store, or to access and set information pertaining to a mailbox store.
You can find more information about working with CDOEXM in the following sections.
Using CDOEXM with Non-Exchange Stores
Send us your feedback about the Microsoft Exchange Server 2003 SDK.
Build: June 2007 (2007.618.1)
© 2003-2006 Microsoft Corporation. All rights reserved. Terms of use.