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


IVersionedObject3.UnRegisterAsVersioned3 Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IV > IVersionedObject3 Interface > IVersionedObject3.UnRegisterAsVersioned3 Method
ArcGIS Developer Help

IVersionedObject3.UnRegisterAsVersioned3 Method

UnRegister this object as versioned with the option to compress the Default edits to base.

[Visual Basic .NET]
Public Sub UnRegisterAsVersioned3 ( _
    ByVal compressDefault As Boolean _
)
[C#]
public void UnRegisterAsVersioned3 (
    bool compressDefault
);
[C++]
HRESULT UnRegisterAsVersioned3(
  VARIANT_BOOL compressDefault
);
[C++]
Parameters
compressDefault [in]

compressDefault is a parameter of type bool

Product Availability

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

Remarks

Unregistering an object class as versioned permanently drops the object's delta tables. To preserve the edits, the boolean argument compressDefault can be used to compress all outstanding edits in the default version to the base tables. Outstanding edits in versions other than default will be lost when the object class is unregistered as versioned.

Only the owner can register or unregister the object.

Archiving must first be disabaled on a class before it can be unregistered as versioned. This situation only applies to classes that have be registered as versioned with the MoveEditsToBase option set to false through the IVersionObject3.RegisterAsVersioned3 method.

See Also

IVersionedObject3 Interface