Meta Data Services Programming
Workspaces and Repository Instances
In many respects, operating within a workspace is just like operating within a larger repository instance. Both the Workspace class and the Repository class implement the IRepository2 interface. There are, however, some important differences:
- Some methods exposed by the IRepository2 interface apply only to Repository instances, not to workspaces. You cannot call Open or Create on a workspace object.
- Unlike repository connections, workspaces are named persistent repository objects. Thus, workspaces can be created, used across multiple sessions, and deleted, if necessary.