This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IW > IWorkspaceFactory2 Interface (ArcObjects .NET 10.5 SDK) |
Provides access to members that create and open workspaces and supply workspace factory information.
Description | ||
---|---|---|
ContainsWorkspace | Indicates if parentDirectory contains a valid workspace, or is a valid file-system workspace. | |
Copy | Copies a workspace to the specified destination folder. | |
Create | Creates a new workspace specified by the directory, file name, and connection properties. | |
GetClassID | The class ID of the WorkspaceFactory. | |
GetWorkspaceName | Retrieves the workspace name of a workspace from the given list of file names. | |
IsWorkspace | True if the specified file identifies a workspace supported by the workspace factory. | |
Move | Moves a workspace to the specified destination folder. | |
Open | Opens the workspace specified by the connection properties. | |
OpenFromFile | Opens the workspace specified by the given file name. | |
OpenFromString | Opens the workspace specified by a connection string. | |
ReadConnectionPropertiesFromFile | The connection properties from the specified file. | |
WorkspaceDescription | A singular or plural description of the type of workspace the workspace factory opens/creates. | |
WorkspaceType | The type of workspace the workspace factory opens/creates. |
Interfaces | Description |
---|---|
IWorkspaceFactory | Provides access to members that create and open workspaces and supply workspace factory information. |
The IWorkspaceFactory2 interface was added to allow opening of a Workspace using a connection string which describes the connection properties for the workspace. You can get a workspace's connection string using the ConnectionString property on IWorkspaceName2.
IWorkspaceName2 Interface | IWorkspaceFactory Interface