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

Name string

AlterClassExtensionCLSID(UID, IPropertySet)

void AlterClassExtensionCLSID(UID ClassExtensionCLSID, IPropertySet classExtensionProperties)

Parameters

ClassExtensionCLSID UID
classExtensionProperties IPropertySet

AlterClassExtensionProperties(IPropertySet)

Changes the class extension properties associated with this object class.

void AlterClassExtensionProperties(IPropertySet classExtensionProperties)

Parameters

classExtensionProperties IPropertySet

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

FieldName string
Value object

AlterDomain(string, IDomain)

void AlterDomain(string FieldName, IDomain Domain)

Parameters

FieldName string
Domain IDomain

AlterFieldAliasName(string, string)

void AlterFieldAliasName(string FieldName, string AliasName)

Parameters

FieldName string
AliasName string

AlterFieldModelName(string, string)

void AlterFieldModelName(string FieldName, string ModelName)

Parameters

FieldName string
ModelName string

AlterInstanceCLSID(UID)

void AlterInstanceCLSID(UID InstanceCLSID)

Parameters

InstanceCLSID UID

AlterModelName(string)

void AlterModelName(string Name)

Parameters

Name string

RegisterAsObjectClass(string, string)

int RegisterAsObjectClass(string suggestedOIDFieldName, string ConfigKeyword)

Parameters

suggestedOIDFieldName string
ConfigKeyword string

Returns

int