ArcObjects Library Reference (GeoDatabase)  

IScratchWorkspaceFactory.CreateNewScratchWorkspace Method

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

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

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.

See Also

IScratchWorkspaceFactory Interface

.NET Samples

Extending the replication synchronization process (Code Files: RegisterExtension) |

.NET Related Topics

DataSourcesGDB |