com.esri.arcgis.geodatabase
Interface IWorkspaceSpatialReferenceInfo

All Superinterfaces:
Serializable
All Known Implementing Classes:
IWorkspaceSpatialReferenceInfoProxy, Sde4Workspace, VersionedWorkspace, Workspace

public interface IWorkspaceSpatialReferenceInfo
extends Serializable

Provides access to spatial reference information for the workspace.

Remarks

IWorkspaceSpatialReferenceInfo is an optional interface that can be used by an application to retrieve the set of spatial references that are referenced by geodatasets in a Personal, File or ArcSDE geodatabase. It has a read-only property, SpatialReferenceInfo, that returns an enumerator that supports the IEnumSpatialReferenceInfo interface. The latter has a Next method that can be used to iterate over the spatial references and their spatial reference ID (SRID) within the geodatabase.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.


Method Summary
 IEnumSpatialReferenceInfo getSpatialReferenceInfo()
          The defined Spatial References in the Workspace.
 

Method Detail

getSpatialReferenceInfo

IEnumSpatialReferenceInfo getSpatialReferenceInfo()
                                                  throws IOException,
                                                         AutomationException
The defined Spatial References in the Workspace.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Returns:
A reference to a com.esri.arcgis.geodatabase.IEnumSpatialReferenceInfo
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.