This document is archived and information here might be outdated. Recommended version. |
The default scratch workspace.
[Visual Basic .NET] Public ReadOnly Property DefaultScratchWorkspace As IWorkspace
[C#] public IWorkspace DefaultScratchWorkspace {get;}
[C++]
HRESULT get_DefaultScratchWorkspace(
IWorkspace** Workspace
);
[C++]
Parameters Workspace [out, retval]
Workspace is a parameter of type IWorkspace**
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.