This document is archived and information here might be outdated.  Recommended version.

IVersionEvents2.OnPost Event (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IV > IVersionEvents2 Interface > IVersionEvents2.OnPost Event
ArcGIS Developer Help

IVersionEvents2.OnPost Event

This event is fired after a version is posted.

[Visual Basic .NET]
Public Event OnPost As OnPostEventHandler
public event OnPostEventHandler OnPost
  BSTR targetVersionName
targetVersionName [in]

targetVersionName is a parameter of type BSTR

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.


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. 

See Also

IVersionEvents2 Interface