com.esri.arcgis.geodatabase
Interface IFeatureWorkspaceSchemaEdit

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

public interface IFeatureWorkspaceSchemaEdit
extends Serializable

Provides access to altering the instance CLSID and the class extension CLSID.

Remarks

Casting to the IClassSchemaEdit interface on an instantiated object class allows an application to change the behavior associated with an object class by changing the GUIDs specifying the class instance and class extension. There are times where instantiation of an object class may fail, such as when one or more necessary class instances or class extensions referenced by the object class are not installed or available. In these cases the methods in IFeatureWorkspaceSchemaEdit can be used to alter the GUIDs specifying the class instance and class extensions for an object class, given only the name of the object class.

When To Use

Use IFeatureWorkspaceSchemaEdit when you want to change the instance CLSID or extension CLSID for an object class, but are unable to open that object class.

Product Availability

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


Method Summary
 void alterClassExtensionCLSID(String name, IUID classExtensionCLSID, IPropertySet classExtensionProperties)
          Changes the class extension COM class associated with this database class.
 void alterInstanceCLSID(String name, IUID instanceCLSID)
          Changes the instance COM class associated with this database class.
 

Method Detail

alterInstanceCLSID

void alterInstanceCLSID(String name,
                        IUID instanceCLSID)
                        throws IOException,
                               AutomationException
Changes the instance COM class associated with this database class.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Parameters:
name - The name (in)
instanceCLSID - A reference to a com.esri.arcgis.system.IUID (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

alterClassExtensionCLSID

void alterClassExtensionCLSID(String name,
                              IUID classExtensionCLSID,
                              IPropertySet classExtensionProperties)
                              throws IOException,
                                     AutomationException
Changes the class extension COM class associated with this database class.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Parameters:
name - The name (in)
classExtensionCLSID - A reference to a com.esri.arcgis.system.IUID (in)
classExtensionProperties - A reference to a com.esri.arcgis.system.IPropertySet (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.