SharedWorkspace.Delete Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.