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

IRasterWorkspaceEx.RegisterAsRasterDataset Method (ArcObjects .NET 10.7 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IR > IRasterWorkspaceEx Interface > IRasterWorkspaceEx.RegisterAsRasterDataset Method
ArcGIS Developer Help

IRasterWorkspaceEx.RegisterAsRasterDataset Method

Registers as a RasterDataset.

[Visual Basic .NET]
Public Sub RegisterAsRasterDataset ( _
    ByVal Name As String, _
    ByVal GeometryDef As IGeometryDef _
public void RegisterAsRasterDataset (
    string Name,
    IGeometryDef GeometryDef
HRESULT RegisterAsRasterDataset(
  BSTR Name,
  IGeometryDef* GeometryDef
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.


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