Interface IScratchWorkspaceFactory
- Namespace
- ESRI.ArcGIS.Geodatabase
- Assembly
- ESRI.Server.Geodatabase.dll
Provides access to members that create or get a scratch workspace.
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
[Guid("06DC8E4B-951C-11D2-AE75-080009EC732A")]
public interface IScratchWorkspaceFactory
Properties
DefaultScratchWorkspace
The default scratch workspace.
IWorkspace DefaultScratchWorkspace { get; }
Property Value
Remarks
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.
Methods
CreateNewScratchWorkspace()
Creates and returns a new scratch workspace.
IWorkspace CreateNewScratchWorkspace()
Returns
Remarks
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.