This document is archived and information here might be outdated.  Recommended version.


IScratchWorkspaceFactory2.CurrentScratchWorkspace Property (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (GeoDatabase)  

IScratchWorkspaceFactory2.CurrentScratchWorkspace Property

The current scratch workspace.

[Visual Basic .NET]
Public ReadOnly Property CurrentScratchWorkspace As IWorkspace
[C#]
public IWorkspace CurrentScratchWorkspace {get;}
[C++]
HRESULT get_CurrentScratchWorkspace(
  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.CurrentScratchWorkspace will return a null value if the default scratch workspace has not been created yet, otherwise it will return the default scratch workspace.

See Also

IScratchWorkspaceFactory2 Interface