ArcObjects Library Reference (GeoDatabase)  

IVersion.Delete Method

Permanently deletes the version from the database.

[Visual Basic .NET]
Public Sub Delete ( _
)
[C#]
public void Delete (
);
[C++]
HRESULT Delete(
void
);

Product Availability

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

Errors Returned

FDO_E_SE_NO_PERMISSIONS: Insufficient permissions.

FDO_E_VERSION_HAS_CHILDREN: Unable to delete versions with dependant children.

Functional License Check

If your application/site is not appropriately licensed, Delete can return an Err.Number of FDO_E_NO_OPERATION_LICENSE.

Remarks

The Delete method is used to permanently delete a version. Only the owner of the version or the ArcSDE administrator can delete the version.

See Also

IVersion Interface