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


IVersionEvents2.OnDeleteVersion 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.OnDeleteVersion Event
ArcGIS Developer Help

IVersionEvents2.OnDeleteVersion Event

This event is fired before a version is deleted.

[Visual Basic .NET]
Public Event OnDeleteVersion As OnDeleteVersionEventHandler
[C#]
public event OnDeleteVersionEventHandler OnDeleteVersion
[C++]
HRESULT OnDeleteVersion(
  BSTR VersionName
);
[C++]
Parameters
VersionName [in]

VersionName is a parameter of type BSTR

Product Availability

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

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.  

See Also

IVersionEvents2 Interface