|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IScratchWorkspaceFactory
Provides access to members that create or get a scratch workspace.
IScratchWorkspaceFactory is used to create temporary personal geodatabases in the current user's temporary directory.
The first time IScratchWorkspaceFactory.DefaultScratchWorkspace is called, it will create a new temporary workspace and pass it back. Subsequent calls to this method will return the same workspace. When the application is closed, the default scratch workspace will be deleted.
Workspaces created by IScratchWorkspaceFactory.CreateNewScratchWorkspace will be automatically deleted when the last reference to them is released.
Method Summary | |
---|---|
IWorkspace |
createNewScratchWorkspace()
Creates and returns a new scratch workspace. |
IWorkspace |
getDefaultScratchWorkspace()
The default scratch workspace. |
Method Detail |
---|
IWorkspace getDefaultScratchWorkspace() throws IOException, AutomationException
IScratchWorkspaceFactory is used to create temporary personal geodatabases in the current user's temporary directory.
The first time IScratchWorkspaceFactory.DefaultScratchWorkspace is called, it will create a new temporary workspace and pass it back. Subsequent calls to this method will return the same workspace. When the application is closed, the default scratch workspace will be deleted.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IWorkspace createNewScratchWorkspace() throws IOException, AutomationException
IScratchWorkspaceFactory is used to create temporary personal geodatabases in the current user's temporary directory.
Workspaces created by IScratchWorkspaceFactory.CreateNewScratchWorkspace will be automatically deleted when the last reference to them is released.
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 |