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

IRasterWorkspaceEx.RegisterAsRasterCatalog 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.RegisterAsRasterCatalog Method
ArcGIS Developer Help

IRasterWorkspaceEx.RegisterAsRasterCatalog Method

Registers as a RasterCatalog.

[Visual Basic .NET]
Public Sub RegisterAsRasterCatalog ( _
    ByVal Name As String, _
    ByVal OIDFieldName As String, _
    ByVal GeometryDef As IGeometryDef _
public void RegisterAsRasterCatalog (
    string Name,
    string OIDFieldName,
    IGeometryDef GeometryDef
HRESULT RegisterAsRasterCatalog(
  BSTR Name,
  BSTR OIDFieldName,
  IGeometryDef* GeometryDef
Name [in]

Name is a parameter of type BSTR OIDFieldName [in]
OIDFieldName 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 RegisterAsRasterCatalog method provides a way to upgrade an 8.x embedded raster catalog to a 9.x raster catalog, because an 8.x raster catalog doesn�t have an OID or a GEOMETRY type column in its business table while a 9.x raster catalog does. This method will add these two columns to the raster catalog table and populate the Geometry column with the extent of each raster dataset in the raster catalog. This method works only with ArcSDE geodatabase.

See Also

IRasterWorkspaceEx Interface