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


IVersionEvents2.OnPost Event (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (GeoDatabase)  

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