Interface IClassSchemaEdit2
- Namespace
- ESRI.ArcGIS.Geodatabase
- Assembly
- ESRI.Server.Geodatabase.dll
Provides access to members that modify an object class's extension properties.
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
[Guid("62F1F470-E991-11D3-80D3-00C04F601565")]
public interface IClassSchemaEdit2 : IClassSchemaEdit
Remarks
When using the IClassSchemaEdit2 object to alter an object class' class schema, you should first acquire an exclusive schema lock using the ISchemaLock interface to be sure that another application or user does not have the class open while you are trying to modify its schema.
You can QI for the IClassSchemaEdit2 interface from the IObjectClass interface.
Methods
AlterAliasName(string)
void AlterAliasName(string Name)
Parameters
Namestring
AlterClassExtensionCLSID(UID, IPropertySet)
void AlterClassExtensionCLSID(UID ClassExtensionCLSID, IPropertySet classExtensionProperties)
Parameters
ClassExtensionCLSIDUIDclassExtensionPropertiesIPropertySet
AlterClassExtensionProperties(IPropertySet)
Changes the class extension properties associated with this object class.
void AlterClassExtensionProperties(IPropertySet classExtensionProperties)
Parameters
classExtensionPropertiesIPropertySet
Remarks
AlterClassExtensionProperties takes as an argument the new properties for the class extension as an IPropertySet.
AlterDefaultValue(string, object)
void AlterDefaultValue(string FieldName, object Value)
Parameters
AlterDomain(string, IDomain)
void AlterDomain(string FieldName, IDomain Domain)
Parameters
AlterFieldAliasName(string, string)
void AlterFieldAliasName(string FieldName, string AliasName)
Parameters
AlterFieldModelName(string, string)
void AlterFieldModelName(string FieldName, string ModelName)
Parameters
AlterInstanceCLSID(UID)
void AlterInstanceCLSID(UID InstanceCLSID)
Parameters
InstanceCLSIDUID
AlterModelName(string)
void AlterModelName(string Name)
Parameters
Namestring
RegisterAsObjectClass(string, string)
int RegisterAsObjectClass(string suggestedOIDFieldName, string ConfigKeyword)