Interface IVersionEvents

Namespace
ESRI.ArcGIS.Geodatabase
Assembly
ESRI.Server.Geodatabase.dll

Provides access to events that occur on a version.

[Guid("0B437961-89F9-11D4-8B5F-000000000000")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface IVersionEvents

Methods

OnArchiveUpdated(object)

This event is fired after the historical archive has been updated with changes saved or posted to the DEFAULT version.

void OnArchiveUpdated(object archiveTransactionTime)

Parameters

archiveTransactionTime object

OnBeginReconcile(string)

This event is fired before a version is reconciled.

void OnBeginReconcile(string targetVersionName)

Parameters

targetVersionName string

OnConflictsDetected(ref bool, ref bool, ref string)

This event is fired during reconciliation, after conflicts are detected. It can be used by application developers to filter found conflicts.

void OnConflictsDetected(ref bool conflictsRemoved, ref bool errorOccurred, ref string errorString)

Parameters

conflictsRemoved bool
errorOccurred bool
errorString string

Remarks

It is the developer's responsibility to set the conflictsRemoved argument to true if any conflicts were removed from any of the Conflict Classes.

OnDeleteVersion(string)

This event is fired before a version is deleted.

void OnDeleteVersion(string VersionName)

Parameters

VersionName string

OnPost(string)

This event is fired after a version is posted.

void OnPost(string targetVersionName)

Parameters

targetVersionName string

OnReconcile(string, bool)

This event is fired after the version is reconciled, associating it with a new database state. Applications must discard or refresh any cached row objects.

void OnReconcile(string targetVersionName, bool HasConflicts)

Parameters

targetVersionName string
HasConflicts bool

OnRedefineVersion(string, string)

This event is fired after the version is changed in place to represent a different version, associating it with a new database state. Applications must discard or refresh any cached row objects.

void OnRedefineVersion(string oldVersionName, string newVersionName)

Parameters

oldVersionName string
newVersionName string

OnRefreshVersion()

This event is fired after the version is refreshed, associating it with a new database state. Applications must discard or refresh any cached row objects.

void OnRefreshVersion()