Export (0) Print
Expand All

Folder.Empty method

Empties the folder. Optionally, enables you to empty subfolders.

Namespace:  Microsoft.Exchange.WebServices.Data
Assembly:  Microsoft.Exchange.WebServices (in Microsoft.Exchange.WebServices.dll)

public void Empty(
	DeleteMode deleteMode,
	bool deleteSubFolders
)

Parameters

deleteMode
Type: Microsoft.Exchange.WebServices.Data.DeleteMode

The deletion mode.

deleteSubFolders
Type: System.Boolean

true to indicate that subfolders should also be deleted; otherwise, false.

Show:
© 2014 Microsoft