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


IScratchWorkspaceFactory2.CurrentScratchWorkspace Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IS > IScratchWorkspaceFactory2 Interface > IScratchWorkspaceFactory2.CurrentScratchWorkspace Property
ArcGIS Developer Help

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