Provides access to events that occur on a version.
| Description | ||
|---|---|---|
![]() |
OnConflictsDetected | This event is fired during reconciliation, after conflicts are detected. It can be used by application developers to filter found conflicts. |
![]() |
OnReconcile | 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. |
![]() |
OnRedefineVersion | 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. |
![]() |
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. |
| CoClasses and Classes | Description |
|---|---|
| CadastralWorkspaceDatasetExtension (esriGeoDatabaseExtensions) | A container for describing this cadastral fabric's workspace extension properties. |
| VersionEvents | Helper coclass for working with the outbound interface IVersionEvents. |
| VersionEventsListener (esriSystemUtility) | Helper coclass to provide IVersionEvents support to the C++ API. |
Private WithEvents VersionEvents as VersionEvents
Private WithEvents EditEvents As Editor
Private WithEvents VersionEvents as VersionEvents
Private m_pEditor As IEditor
Private Sub EditEvents_OnStartEditing()
Set VersionEvents = m_pEditor.EditWorkspace
End Sub
Private Sub EditEvents_OnStopEditing(ByVal Save As Boolean)
Set VersionEvents = Nothing
End Sub
Private Sub VersionEvents_OnReconcile(ByVal VersionName As String, ByVal foundConflicts As Boolean)
If foundConflicts Then
MsgBox "Conflicts detected."
End If
End SubImplements IWorkspaceExtension
Implements IWorkspaceExtensionControl
Implements IVersionEvents
Private Sub IVersionEvents_OnReconcile(ByVal VersionName As String, ByVal foundConflicts As Boolean)
If foundConflicts Then
MsgBox "Conflicts detected."
End If
End Sub