Provides access to members that create and open workspaces and supply workspace factory information.
Product Availability
Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.
Members
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. |
Inherited Interfaces
Interfaces | Description |
---|---|
IWorkspaceFactory | Provides access to members that create and open workspaces and supply workspace factory information. |
CoClasses that implement IWorkspaceFactory2
Remarks
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.