IFeatureWorkspaceSchemaEdit Interface

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

When To Use

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

Members

Name Description
Method AlterClassExtensionCLSID Changes the class extension COM class associated with this database class.
Method AlterInstanceCLSID Changes the instance COM class associated with this database class.

IFeatureWorkspaceSchemaEdit.AlterClassExtensionCLSID Method

Changes the class extension COM class associated with this database class.

Public Sub AlterClassExtensionCLSID ( _
    ByVal Name As String, _
    ByVal ClassExtensionCLSID As UID, _
    ByVal classExtensionProperties As IPropertySet _
)
public void AlterClassExtensionCLSID (
    string Name,
    UID ClassExtensionCLSID,
    IPropertySet classExtensionProperties
);

IFeatureWorkspaceSchemaEdit.AlterInstanceCLSID Method

Changes the instance COM class associated with this database class.

Public Sub AlterInstanceCLSID ( _
    ByVal Name As String, _
    ByVal InstanceCLSID As UID _
)
public void AlterInstanceCLSID (
    string Name,
    UID InstanceCLSID
);

Classes that implement IFeatureWorkspaceSchemaEdit

Classes Description
Workspace Workspace Object.

Remarks

Casting to the IClassSchemaEditinterface 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 IFeatureWorkspaceSchemaEditcan 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.

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.