Provides access to dataset deletion and renaming, table and index analysis, field validation and version and object class registration.
Members
Name | Description | |
---|---|---|
AnalyzeIndex | Analyze the index to generate DBMS statistics. | |
AnalyzeTable | Analyze the table to generate DBMS statistics. | |
CanDelete | Checks if an object can be deleted. | |
CanRename | Checks if an object can be renamed. | |
DeleteByName | Deletes an object by it's name. | |
GetObjectClassNameByID | Gets fully qualified feature class name by object class id. | |
GetRelationshipClassNameByID | Gets fully qualified relationship class name by relationship class id. | |
IsRegisteredAsObjectClass | Checks if an object is registered as an object class. | |
IsRegisteredAsVersioned | Checks if an object is registered as versioned. | |
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.