Interface ITemporaryDataset
- Namespace
- ESRI.ArcGIS.DatasourcesRaster
- Assembly
- ESRI.Server.DatasourcesRaster.dll
Provides access to members that control temporary datasets.
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
[Guid("C9E5B7D0-3758-11D4-A421-0004AC1B1D86")]
public interface ITemporaryDataset
Remarks
This interface is not supported by a RasterDataset instance from an ArcSDE geodatabase or a File geodatabase.
Temporary raster datasets are created by most operations performed by the Spatial Analyst Extension and also can be created using IRasterWorkspace2::CreateRasterDataset method.
MakePermanent method change the status of a dataset from temporary to permanent. If the dataset is permanent, MakePermanent does nothing.
MakePermanentAs method makes the current dataset permanent by creating a new raster dataset that contains the same data. The current raster dataset will be deleted when all references to it are released. The supported output formats are same as ISaveAs.
Methods
IsTemporary()
Indicates if the dataset is temporary.
bool IsTemporary()
Returns
MakePermanent()
Persists this temporary dataset permanent.
void MakePermanent()
MakePermanentAs(string, IWorkspace, string)
Persists this temporary dataset to a new permanent dataset.
IDataset MakePermanentAs(string new_name, IWorkspace Workspace, string Format)
Parameters
new_namestringWorkspaceIWorkspaceFormatstring