ExchangeServiceBinding.DeleteFolder Method
Deletes a folder from the mailbox.
Namespace: Microsoft.SharePoint.Portal.WebControls
Assembly: Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)
Syntax
'Declaration
Public Function DeleteFolder ( _
DeleteFolder1 As DeleteFolderType _
) As DeleteFolderResponseType
'Usage
Dim instance As ExchangeServiceBinding
Dim DeleteFolder1 As DeleteFolderType
Dim returnValue As DeleteFolderResponseType
returnValue = instance.DeleteFolder(DeleteFolder1)
public DeleteFolderResponseType DeleteFolder(
DeleteFolderType DeleteFolder1
)
Parameters
- DeleteFolder1
Type: DeleteFolderType
Represents the folder to delete from the mailbox.
Return Value
Type: DeleteFolderResponseType