Creates and returns a new scratch workspace.
[Visual Basic 6.0] Function CreateNewScratchWorkspace As IWorkspace
[Visual Basic .NET] Public Function CreateNewScratchWorkspace ( _ ) As IWorkspace
[C#] public IWorkspace CreateNewScratchWorkspace ( );
[Java] public IWorkspace createNewScratchWorkspace ( ) throws IOException, AutomationException
[C++] HRESULT CreateNewScratchWorkspace( 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.
Workspaces created by IScratchWorkspaceFactory.CreateNewScratchWorkspace will be automatically deleted when the last reference to them is released.