IFeatureWorkspaceManage2 Interface

Provides access to dataset deletion and renaming, table and index analysis, field validation and version and object class registration.

Members

Name Description
Method AnalyzeIndex Analyze the index to generate DBMS statistics.
Method AnalyzeTable Analyze the table to generate DBMS statistics.
Method CanDelete Checks if an object can be deleted.
Method CanRename Checks if an object can be renamed.
Method DeleteByName Deletes an object by it's name.
Method GetObjectClassNameByID Gets fully qualified feature class name by object class id.
Method GetRelationshipClassNameByID Gets fully qualified relationship class name by relationship class id.
Method IsRegisteredAsObjectClass Checks if an object is registered as an object class.
Method IsRegisteredAsVersioned Checks if an object is registered as versioned.
Method ValidateField Validate a field, performing type conversion if necessary.

IFeatureWorkspaceManage2.GetObjectClassNameByID Method

Gets fully qualified feature class name by object class id.

Public Function GetObjectClassNameByID ( _
    ByVal ObjectClassID As Integer _
) As String
public string GetObjectClassNameByID (
    int ObjectClassID
);

Remarks

The GetObjectClassNameByIDmethod can be used to get the fully qualified name of a feature class or table that is registered as an ObjectClass with the geodatabase based on its ObjectClass ID. This name can then be used in a method such as IFeatureWorkspace::OpenFeatureClass, or IFeatureWorkspace::OpenTable to open the feature class or table.

IFeatureWorkspaceManage2.GetRelationshipClassNameByID Method

Gets fully qualified relationship class name by relationship class id.

Public Function GetRelationshipClassNameByID ( _
    ByVal relClassId As Integer _
) As String
public string GetRelationshipClassNameByID (
    int relClassId
);

Remarks

The GetRelationshipClassNameByIDmethod can be used to get the fully qualified name of a relationship class based on its RelationshipClass ID. This name can then be used in a method such as IFeatureWorkspace::OpenRelationshipClassto open the relationship class.

Inherited Interfaces

Interfaces Description
IFeatureWorkspaceManage Provides access to dataset deletion and renaming, table and index analysis, field validation and version and object class registration .

Classes that implement IFeatureWorkspaceManage2

Classes Description

Remarks

The IFeatureWorkspaceManage2interface extents the IFeatureWorkspaceManage to include utility methods that return the names of object classes and relationship classes based on the class IDs.

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