Renames a folder in the MS Exchange account.
Namespace: MailBee.EwsMailAssembly: MailBee.NET (in MailBee.NET.dll) Version: 12.5.0 build 687 for .NET 4.5
Syntax public bool RenameFolder(
string folderNewName,
FolderId id
)
Public Function RenameFolder (
folderNewName As String,
id As FolderId
) As Boolean
Parameters
- folderNewName
- Type: SystemString
The new name of the folder. Null reference (Nothing in Visual Basic) or empty string not allowed. - id
- Type: FolderId
The ID of the folder being renamed. Null reference not allowed.
Return Value
Type:
Booleantrue if succeeded; otherwise,
false.
Exceptions Remarks See Also