This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IS > IScratchWorkspaceFactory Interface > IScratchWorkspaceFactory.CreateNewScratchWorkspace Method (ArcObjects .NET 10.4 SDK) |
Creates and returns a new scratch workspace.
[Visual Basic .NET] Public Function CreateNewScratchWorkspace ( _ ) As IWorkspace
[C#] public IWorkspace CreateNewScratchWorkspace ( );
[C++]
HRESULT CreateNewScratchWorkspace(
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.
Workspaces created by IScratchWorkspaceFactory.CreateNewScratchWorkspace will be automatically deleted when the last reference to them is released.