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
C#
public Workspace FindNamedWorkspace(
	Package package,
	string name
)
Parameters
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.
Remarks
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.
Exceptions
ExceptionCondition
ArgumentExceptionThrown if no Workspace is found with the given name.

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