Persistate API documentation
FindNamedWorkspace Method (package, name)
NamespacesPersistatePrincipalFindNamedWorkspace(Package, String)

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

Finds a named Workspace for a particular Package.
Declaration Syntax
public Workspace FindNamedWorkspace(
	Package package,
	string name
package (Package)
The Package that the Workspace is for.
name (String)
The name of the Workspace to find.
Return Value
The Workspace found, or null if none matched.
This looks first in the user's Workspace collection for a Workspace for the given Package with the given name, then for any Workspace defined in the Package itself with the given name.
ArgumentExceptionThrown if no Workspace is found with the given name.

Assembly: Persistate (Module: Persistate) Version: (