ArcObjects Library Reference (GeoDatabase)  

IVersionEvents2.OnDeleteVersion Event

This event is fired before a version is deleted.

[Visual Basic 6.0]
Event OnDeleteVersion(
    ByVal VersionName As String _
)
[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