Share via


MoveDataFiles Method

MoveDataFiles Method

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.

The MoveDataFiles method relocates files to different paths, and sets the path locations for new files.

Applies To

IMailboxStoreDB Interface

Type Library

Microsoft CDO for Exchange Management Library

DLL Implemented In

CDOEXM.DLL

Syntax

[Visual Basic]Function MoveDataFiles
(
    DBPath As String,     SLVPath As String,     [Flags As Long]
)

[C++]HRESULT MoveDataFiles (     BSTR DBPath,     BSTR SLVPath,     long Flags );

Parameters

  • DBPath
    The new path for the mailbox MDB.
  • SLVPath
    The new path for the SLV (stream) files.
  • Flags
    Reserved for future use.

Return Value

Returns S_OK if successful, or an error value otherwise.

Remarks

When you move the files, the specified paths become the paths for new files.

Note  You must use the Dismount Method on the store before moving mailbox files.

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.