Persistate API documentation
RestoreWorkspace Method (execution)
NamespacesPersistateWorkspaceRestoreWorkspace(Execution)

[This is preliminary documentation and is subject to change.]

Restores a Workspace to the current IPWindow.
Declaration Syntax
C#
public static ExecutionResult RestoreWorkspace(
	Execution execution
)
Parameters
execution (Execution)
The Execution of the Restore Workspace Operation which this is implementing.
Return Value
Always NoActionResult as this makes no change to persistent data.
Remarks

The current IPWindow is the one that most recently had the focus. This puts up a small dialogue using UserInterface.ChooseOne allowing the user to choose a Workspace to restore. This will be populated with those Workspaces for the currently running Package in the Workspaces collection of the Principal running the active Session

The Workspace is restored along with any objects and/or collections which where showing in its Panes when it was saved, so that the IPWindow should look exactly as it was when SaveWorkspace was called.

Assembly: Persistate (Module: Persistate) Version: 0.6.1.20 (0.6.1.20)