Microsoft Knowledge Base Email Alertz

KBAlertz.com: Description of the updated IMailBoxStore::MoveMailbox method in Exchange 2000 Service Pack 3 or in Exchange 2003 Service Pack 2

Receive Microsoft Knowledge Base articles by E-Mail?

Every night we scan the Microsoft Knowledge Base. If technologies you're interested in are updated, we'll send you an e-mail. You only get one e-mail a day, and only when new articles are added.

Click here to create a
FREE account
Already have an account?
[Click here to Login]

Search KbAlertz

Advanced Search

Webmasters
Put kbAlertz on your website.
[ Click Here for more! ]





ASP.NET 2.0 Web Hosting with SQL 2005: Click Here!
Discount ASP.NET Hosting


Bug Tracking Software
For bug tracking software or defect tracking software or issue tracking software, visit Axosoft.


Community Site



We Send hundreds of thousands of emails using ASP.NET Email



Expert Web Design & Graphic Design
Design44.com




Mentioned In








Microsoft Knowledge Base Article

This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks




Description of the updated IMailBoxStore::MoveMailbox method in Exchange 2000 Service Pack 3 or in Exchange 2003 Service Pack 2

Article ID:925389
Last Review:May 6, 2008
Revision:1.0

INTRODUCTION

After you install Microsoft Exchange 2000 Server Service Pack 3 (SP3) or Microsoft Exchange Server 2003 Service Pack 2 (SP2), the IMailBoxStore::MoveMailbox method is changed. The IMailBoxStore::MoveMailbox method had one parameter in versions of Exchange before these service packs. After you install these service packs, the IMailBoxStore::MoveMailbox method has three parameters. This article describes the three parameters that are required to make this method work successfully.

Note You must remove the current reference to the Cdoexm.dll file in the development project. Then, re-add the newer version of the Cdoexm.dll file for the new parameters.

MORE INFORMATION

The MoveMailbox method for the IMailboxStore interface has the parameters that are listed in the following table.
Parameter nameParameter typeParameter value
HomeMDBURLStringThe URL to the new mailbox location.
FCrossAGVARIANT_BOOLdefault value FALSE
IMaxBadItemsToSkipLongdefault value 0 (0-100)
By default, the FCrossAG parameter has a value of FALSE. Therefore, you must set the FCrossAG parameter to TRUE when you use it.

The MoveMailbox method has been updated to include two new optional parameters as shown in the following code example.
MoveMailbox(HomeMDBURL As String, [FCrossAG As Boolean = False], [lMaxBadItemsToSkip As Long])
The following code example illustrates how to specify these parameters in a Microsoft Visual Basic Scripting Edition (VBScript) file to move a mailbox across administrative groups.
objMailbox.MoveMailbox "LDAP:/" & strMailStorePath, TRUE, 0

APPLIES TO
Microsoft Exchange Server 2000 Service Pack 3
Microsoft Exchange Server 2003 Service Pack 2

Back to the top

Keywords: 
kbexpertiseadvanced kbhowto KB925389
       

Community Feedback System

Very often, it takes hours to solve a problem. Very often, you've looked high and low, and have tried a lot of solutions. When you finally found it, chances are, it was because someone else helped you. Here's your chance to give back. Use our community feedback tool to let others know what worked for you and what didn't.

Please also understand that the community feedback system is not warranted to be correct, it's simply a system that we've built to let people try and help each other. If something in a feedback response doesn't make sense to you, or you're not comfortable making changes that the feedback talks about (like registry edits), please consult a professional.

Thank you for using kbAlertz.com Feedback System.

-- Scott Cate

Be the first to leave feedback, to help others about this knowledge base article.

(Optional) Name

(Optional) Public URL Or Email

Comments
No HTML -- Text Only Please