Edit

Share via


SharedWorkspace.Delete Method

Definition

Deletes the current shared workspace and all data within it.

public:
 void Delete();
public void Delete ();
abstract member Delete : unit -> unit
Public Sub Delete ()

Remarks

The Delete method will fail if the user does not have permission to delete the current shared workspace.

If the active document was opened directly from the workspace, after deleting the workspace the document will no longer be saved on disk. The developer must remember to save the document to a new location before closing it, or the document will cease to exist.

Applies to