IVersionEvents2 Interface

Provides access to events that occur on a version.

Members

Name Description
Method OnArchiveUpdated This event is fired after the historical archive has been updated with changes saved or posted to the DEFAULT version.
Method OnBeginReconcile This event is fired before a version is reconciled.
Method OnDeleteVersion This event is fired before a version is deleted.
Method OnPost This event is fired after a version is posted.

IVersionEvents2.OnArchiveUpdated Event

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

Public Event OnArchiveUpdated As OnArchiveUpdatedEventHandler
public event OnArchiveUpdatedEventHandler OnArchiveUpdated

Remarks

This event is fired when an archiving operation is done on the workspace. It can be used by application developers to modify archive tables every time an archiving operation has been initiated on a workspace.

IVersionEvents2.OnBeginReconcile Event

This event is fired before a version is reconciled.

Public Event OnBeginReconcile As OnBeginReconcileEventHandler
public event OnBeginReconcileEventHandler OnBeginReconcile

IVersionEvents2.OnDeleteVersion Event

This event is fired before a version is deleted.

Public Event OnDeleteVersion As OnDeleteVersionEventHandler
public event OnDeleteVersionEventHandler OnDeleteVersion

Remarks

This event is fired prior to a version being deleted. It can be used by application developers to add custom behavior prior to the deletion of a version.

IVersionEvents2.OnPost Event

This event is fired after a version is posted.

Public Event OnPost As OnPostEventHandler
public event OnPostEventHandler OnPost

Remarks

This event is fired after a version is posted. It can be used by application developers to initiate custom code every time a version is posted. Since the event fires after a post is completed it can not be used to determine differences between versions.

Classes that implement IVersionEvents2

Classes Description
VersionEvents2 Helper coclass for working with the outbound interface IVersionEvents2.

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