The default scratch workspace.
[Visual Basic 6.0] Property DefaultScratchWorkspace As IWorkspace
[Visual Basic .NET] Public ReadOnly Property DefaultScratchWorkspace As IWorkspace
[C#] public IWorkspace DefaultScratchWorkspace {get;}
[Java] public IWorkspace getDefaultScratchWorkspace() throws IOException, AutomationException
[C++] HRESULT get_DefaultScratchWorkspace( IWorkspace** Workspace );
IScratchWorkspaceFactory is used to create temporary personal geodatabases in the temp directory. You can find this directory by looking at the %TEMP% environment variable. The scratch personal geodatabase will have the name mx<number>.mdb where <number> is the global unique identifier that uniquely identifies the geodatabase.
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.