IClassSchemaEdit4 Interface

Provides access to members that modify an object class's Editor Tracking properties.

Members

Name Description
Method AddGlobalID Adds a global ID column to a class and populates it with GUIDs.
Method AlterAliasName The alias name of the object class.
Method AlterClassExtensionCLSID Changes the class extension COM class associated with this database class.
Method AlterClassExtensionProperties Changes the class extension properties associated with this object class.
Method AlterDefaultValue The default value of the object class field.
Method AlterDomain The default domain of the object class field.
Method AlterFieldAliasName The alias name of the object class field.
Method AlterFieldModelName The model name of the object class field.
Method AlterFieldName Alter the name of the object class field.
Method AlterInstanceCLSID Changes the instance COM class associated with this database class.
Method AlterModelName The model name of the object class.
Write-only property CreatedAtFieldName Changes the field name for recording the creation time for Editor Tracking on this object class.
Write-only property CreatorFieldName Changes the field name for recording the creator for Editor Tracking on this object class.
Method DeleteGlobalID Deletes the global ID column.
Write-only property EditedAtFieldName Changes the field name for recording the edit time for Editor Tracking on this object class.
Write-only property EditorFieldName Changes the field name for recording the editor for Editor Tracking on this object class.
Write-only property IsTimeInUTC Change the property to determine Editor Tracking times are recorded in UTC.
Method RegisterAsObjectClass Registers this class with the database, assigning it a class id and creating an object id column.

IClassSchemaEdit4.AlterFieldName Method

Alter the name of the object class field.

Public Sub AlterFieldName ( _
    ByVal FieldName As String, _
    ByVal newFieldName As String _
)
public void AlterFieldName (
    string FieldName,
    string newFieldName
);

IClassSchemaEdit4.CreatedAtFieldName Property

Changes the field name for recording the creation time for Editor Tracking on this object class.

Public WriteOnly Property CreatedAtFieldName
public void CreatedAtFieldName {set;}

Description

CreatedAtFieldName sets the Date field that will store the date and time features or records were created. The field specified must already exist.

Remarks

Once you set this property, editor tracking is enabled on the dataset. If you later need to stop recording when features or records are created, set the CreatedAtFieldName property to an empty string. To disable editor tracking on the dataset, CreatorFieldName, CreatedAtFieldName, EditorFieldName, and EditedAtFieldName must each be set to an empty string.

IClassSchemaEdit4.CreatorFieldName Property

Changes the field name for recording the creator for Editor Tracking on this object class.

Public WriteOnly Property CreatorFieldName
public void CreatorFieldName {set;}

Description

CreatorFieldName sets the String field that will store the names of users who create features or records. The field specified must already exist.

Remarks

Once you set this property, editor tracking is enabled on the dataset. If you later need to stop recording creator user name information, set the CreatorFieldName property to an empty string. To disable editor tracking on the dataset, CreatorFieldName, CreatedAtFieldName, EditorFieldName, and EditedAtFieldName must each be set to an empty string.

IClassSchemaEdit4.EditedAtFieldName Property

Changes the field name for recording the edit time for Editor Tracking on this object class.

Public WriteOnly Property EditedAtFieldName
public void EditedAtFieldName {set;}

Description

EditedAtFieldName sets the Date field that will store the date and time features or records were last edited. The field specified must already exist.

Remarks

Once you set this property, editor tracking is enabled on the dataset. If you later need to stop recording last edited date information, set the EditedAtFieldName property to an empty string. To disable editor tracking on the dataset, CreatorFieldName, CreatedAtFieldName, EditorFieldName, and EditedAtFieldName must each be set to an empty string.

IClassSchemaEdit4.EditorFieldName Property

Changes the field name for recording the editor for Editor Tracking on this object class.

Public WriteOnly Property EditorFieldName
public void EditorFieldName {set;}

Description

EditorFieldName sets the String field that will store the names of users who last edited features or records. The field specified must already exist.

Remarks

Once you set this property, editor tracking is enabled on the dataset. If you later need to stop recording editor user name information, set the EditorFieldName property to an empty string. To disable editor tracking on the dataset, CreatorFieldName, CreatedAtFieldName, EditorFieldName, and EditedAtFieldName must each be set to an empty string.

IClassSchemaEdit4.IsTimeInUTC Property

Change the property to determine Editor Tracking times are recorded in UTC.

Public WriteOnly Property IsTimeInUTC
public void IsTimeInUTC {set;}

Description

IsTimeInUTC sets whether time will be recorded in UTC or database time.

Remarks

If you don't specify this, time will be recorded in UTC.

Inherited Interfaces

Interfaces Description
IClassSchemaEdit3 Provides access to members that modify an object class's extension properties.
IClassSchemaEdit2 Provides access to members that modify an object class's extension properties.
IClassSchemaEdit Provides access to member to modify an object class schema.

Classes that implement IClassSchemaEdit4

Classes Description
ObjectClass Esri Object Class object.

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