This document is archived and information here might be outdated.  Recommended version.


WorkspaceFactory Class (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (GeoDatabase)  

WorkspaceFactory Class

WorkspaceFactory Object.

WorkspaceFactory is a non-creatable object. References to non-creatable objects must be obtained through other objects.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Interfaces

Interfaces Description
IWorkspaceFactory Provides access to members that create and open workspaces and supply workspace factory information.
IWorkspaceFactory2 Provides access to members that create and open workspaces and supply workspace factory information.

Remarks

A WorkspaceFactory is a dispenser of workspaces and allows a client to connect to a workspace specified by a set of connection properties. A workspace represents a database or a datasource that contains one or more datasets. Examples of datasets include tables, feature classes and relationship classes. A WorkspaceFactory is a cocreatable, singleton object. A WorkspaceFactory maintains a pool of currently connected, active workspaces that are being referenced by the application. Connection properties are specified using a PropertySet object and can be saved to a connection file. A WorkspaceFactory also supports methods that can be used to browse and manage file system workspaces, and methods to manage connection files for remote database workspaces.

WorkspaceFactory is the one and only instance of its class.