public bool UnsubscribeFolder( string folderName )
Public Function UnsubscribeFolder ( folderName As String ) As Boolean
This method removes the specified folder from the server's set of "active" or "subscribed" folders as returned by DownloadFolders(Boolean) method when subscribedOnly is set to true.
The developer should specify the full name of the folder (including all parent folders' names if the folder is subfolder of another existing folder). See CreateFolder(String) topic for details regarding folder names.
To unsubscribe a folder asynchronously, see the sample code in BeginExecuteCustomCommand(String, String, AsyncCallback, Object) topic.