Renames an exchange folder.

Namespace:  Rebex.Net
Assembly:  Rebex.Ews (in Rebex.Ews.dll)

Syntax

Visual Basic
Public Function RenameFolder ( _
	folderId As EwsFolderId, _
	newName As String _
) As EwsFolderId
C#
public EwsFolderId RenameFolder(
	EwsFolderId folderId,
	string newName
)

Parameters

folderId
Type: Rebex.Net..::..EwsFolderId
ID of a folder to rename.
newName
Type: System..::..String
New folder name.

Return Value

ID of the renamed folder.

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also