Folder.Move Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Move(WellKnownFolderName) |
Moves this folder to the specified folder. |
Move(FolderId) |
Moves this folder to a specific folder. |
Move(WellKnownFolderName)
Moves this folder to the specified folder.
public:
Microsoft::Exchange::WebServices::Data::Folder ^ Move(Microsoft::Exchange::WebServices::Data::WellKnownFolderName destinationFolderName);
public Microsoft.Exchange.WebServices.Data.Folder Move (Microsoft.Exchange.WebServices.Data.WellKnownFolderName destinationFolderName);
Public Function Move (destinationFolderName As WellKnownFolderName) As Folder
Parameters
- destinationFolderName
- WellKnownFolderName
The name of the folder in which to move this folder.
Returns
A new folder that represents this folder in its new location.
Remarks
Calling this method results in a call to Exchange Web Services (EWS).
After Move(WellKnownFolderName) completes, the original folder does not exist.
Applies to
Move(FolderId)
Moves this folder to a specific folder.
public:
Microsoft::Exchange::WebServices::Data::Folder ^ Move(Microsoft::Exchange::WebServices::Data::FolderId ^ destinationFolderId);
public Microsoft.Exchange.WebServices.Data.Folder Move (Microsoft.Exchange.WebServices.Data.FolderId destinationFolderId);
Public Function Move (destinationFolderId As FolderId) As Folder
Parameters
- destinationFolderId
- FolderId
The identifier of the folder in which to move this folder.
Returns
A new folder that represents this folder in its new location.
Remarks
Calling this method results in a call to Exchange Web Services (EWS).
After Move(FolderId) completes, the original folder does not exist.