一聚教程网:一个值得你收藏的教程网站

热门教程

Creating E2K Mailbox with Directory Services

时间:2022-07-02 11:33:23 编辑:袖梨 来源:一聚教程网

HOW TO: Create a Mailbox-Enabled Recipient by Using C# .NET
The information in this article applies to:
Microsoft Visual C# .NET (2002)
Microsoft Collaboration Data Objects for Exchange Management (CDOEXM)
Microsoft Exchange 2000 Server
Microsoft Exchange 2000 Enterprise Server
Microsoft Active Directory Client Extension
Microsoft Active Directory Services Interface, System Component
This article was previously published under Q313114
IN THIS TASK
SUMMARY
Requirements
Create a New C# Program
Code Description
Create a New DirectoryEntry
Set Properties on the New User
Create a New Mailbox
Troubleshooting
REFERENCES
SUMMARY
This step-by-step article describes how to create a mailbox-enabled user with the System.DirectoryServices namespace and CDO for Exchange Management (CDOEXM).
back to the top
Requirements
The following list outlines the recommended hardware, software, network infrastructure, and service packs that are required:
A Microsoft Windows 2000-based domain with Exchange 2000 installed
Visual C# .NET
Microsoft Exchange 2000 System Management Tools on the computer on which this code runs
back to the top
Create a New C# Program
In Visual C# .NET, create a new C# console program that is named MBTest.
In Solution Explorer, right-click References, and then click Add Reference.
On the .NET tab, add a project reference to System.DirectoryServices.
On the COM tab, add a reference to Microsoft CDO for Exchange Management.

热门栏目