Share via


SharedWorkspaceFolder.Delete Method

Deletes the current shared workspace folder and all data within it.

Namespace:  Microsoft.Office.Core
Assembly:  office (in office.dll)

Syntax

'Declaration
Sub Delete ( _
    DeleteEventIfFolderContainsFiles As Object _
)
'Usage
Dim instance As SharedWorkspaceFolder
Dim DeleteEventIfFolderContainsFiles As Object

instance.Delete(DeleteEventIfFolderContainsFiles)
void Delete(
    Object DeleteEventIfFolderContainsFiles
)

Parameters

  • DeleteEventIfFolderContainsFiles
    Type: System.Object

    Optional Boolean. True to delete the folder without warning even if the folder contains files. Default is False.

Remarks

This method will fail if the user does not have permission to delete the current folder from the shared workspace.

See Also

Reference

SharedWorkspaceFolder Interface

SharedWorkspaceFolder Members

Microsoft.Office.Core Namespace