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


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

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