Setting Up a Store
Setting Up a Store
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.
This section discusses the sequence for creating public folders and mailboxes in Microsoft® Exchange Server 2003 with CDO for Exchange Management (CDOEXM) objects.
Create a Storage Group
A default storage group is created when Exchange Server 2003 is installed. When you create stores, you can use this default storage group or create a new storage group.
For a code sample of creating a storage group, see Creating a Storage Group.
Create a Folder Tree
You must create a folder tree before you create public stores, because it is necessary to identify an existing folder tree when you create a store.
Note You can also use the default folder tree that is created when Exchange Server 2003 is installed. However, you must strictly follow the rules governing relationships between folder trees and public stores.
For a code sample of creating a Folder Tree, see Creating a Folder Tree.
Create public stores
You can now create the public stores. When creating stores, you must specify a storage group in which the store is to be managed, and a folder tree to associate with the public store.
For public store code samples, see Creating a Public Store.
Create mailbox stores
You can now create the mailbox stores. When creating mailbox stores, you must specify both a storage group in which the store is to be managed, and a public store that will be associated with the mailbox store. Public folders and files for users that have mailboxes in the new mailbox store can be kept in the associated public store. Depending on the Exchange replication configuration, public folder data for those users might be stored in a public store different than the one originally associated with the new mailbox store.
For mailbox store code samples, see Creating a Mailbox Store.
Your store now looks like the following:
Create Public Folders and Mailboxes
You can now create public folders and mailboxes. You can also give users permissions to create public folders and create their own mailboxes.
For an example of how to create a folder, see Creating Folders.
For information about creating and managing mailboxes, including examples, see Managing Mail Recipients.
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.