ArcObjects Library Reference (GeoDatabase)  

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 VARIANT_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