|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IWorkspaceFactory2
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.
Method Summary | |
---|---|
IWorkspace |
openFromString(String connectStr,
int hWnd)
Opens the workspace specified by a connection string. |
Methods inherited from interface com.esri.arcgis.geodatabase.IWorkspaceFactory |
---|
containsWorkspace, copy, create, getClassID, getWorkspaceDescription, getWorkspaceName, getWorkspaceType, isWorkspace, move, open, openFromFile, readConnectionPropertiesFromFile |
Method Detail |
---|
IWorkspace openFromString(String connectStr, int hWnd) throws IOException, AutomationException
The connect string is a collection of name value pairs separated by a semicolon (;).
connectStr
- The connectStr (in)hWnd
- The hWnd (A COM typedef) (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |