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
[C#]
public event OnPostEventHandler OnPost
[C++]
HRESULT OnPost(
  BSTR targetVersionName
);
[C++]
Parameters
targetVersionName [in]

targetVersionName is a parameter of type BSTR

Product Availability

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

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. 

See Also

IVersionEvents2 Interface