Platform SDK: Exchange Server |
Configuration information for a service object (a Mailbox-Agent or Mail-Gateway) is stored in the server-application object in the directory. Configuration information for recipients is stored in Mailbox objects in the directory. Both types can be accessed through the Microsoft Exchange Server Address Book provider.
The mechanisms for programmatically reading and writing standard configuration data and extension data are similar, but not identical.
To read standard configuration data using MAPI
To read extension data using MAPI
Configuration data is written when an administrator is editing property pages through the Administrator program and clicks the Apply Now or OK button. The following steps describe how to set up this action.
To write standard configuration data
To write extension data
Note For reading and writing very large individual attributes, it may be better to use the IStream interface than to use IMAPIProps::SetProps and IMAPIProps::GetProps. For more information, see Getting and Setting Properties Efficiently and Minimizing IStream Interface Use.