| ArcObjects Library Reference (GeoDatabase) |
|
IRasterWorkspaceEx.RegisterAsRasterDataset Method
Registers as a RasterDataset.
[Visual Basic .NET]
Public Sub RegisterAsRasterDataset ( _
ByVal Name As String, _
ByVal GeometryDef As IGeometryDef _
)
[C#]
public void RegisterAsRasterDataset (
string Name,
IGeometryDef GeometryDef
);
[C++]
HRESULT RegisterAsRasterDataset(
BSTR Name,
IGeometryDef* GeometryDef
);
[C++]
Parameters
Name [in]
Name is a parameter of type BSTR
GeometryDef [in]
GeometryDef is a parameter of type IGeometryDef*
Product Availability
Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.
Remarks
The RegisterAsRasterDataset method allows you to upgrade an 8.x raster dataset to a 9.x raster dataset in ArcSDE geodatabase, because an 8.x raster dataset doesn�t have a GEOMETRY column in its business table while a 9.x raster dataset does. This method only applies to ArcSDE geodatabase raster dataset. It is necessary to register an 8.x raster dataset to a 9.x raster dataset in order for the raster dataset to be recognized in any Geoprocessing tools.
See Also
IRasterWorkspaceEx Interface