com.esri.arcgis.geodatabase
Interface IVersionedWorkspace2

All Superinterfaces:
IVersionedWorkspace, Serializable
All Known Subinterfaces:
IVersionedWorkspace3
All Known Implementing Classes:
IVersionedWorkspace2Proxy, IVersionedWorkspace3Proxy, VersionedWorkspace

public interface IVersionedWorkspace2
extends IVersionedWorkspace, Serializable

Provides access to members that manage versions.

Superseded By

IVersionedWorkspace3

Product Availability

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


Method Summary
 IEnumVersionInfo getRecommendedReconcileOrder()
          An ordered list of versions that can be used to optimize reconciliation against the default version.
 
Methods inherited from interface com.esri.arcgis.geodatabase.IVersionedWorkspace
compress, findVersion, getDefaultVersion, getVersions
 

Method Detail

getRecommendedReconcileOrder

IEnumVersionInfo getRecommendedReconcileOrder()
                                              throws IOException,
                                                     AutomationException
An ordered list of versions that can be used to optimize reconciliation against the default version.

Remarks

The RecommendedReconcileOrder method returns an enumeration of version names based upon the ascending order of each version's common ancestor state with respect to the DEFAULT version. If a version's common ancestor state is equal to or greater than the state the DEFAULT version references, it will not be included in the enumeration.

The method is intended to be used prior to running a compress. If all or some of the versions returned by the RecommendedReconcileOrder are reconciled based upon the enumeration's order, the compress operation will be able to move more rows from a table's versioned delta tables to the base tables. The more versions reconciled based upon the order of versions returned, more rows will be compressed to the base table.

Compressing a versioned database can improve query performance by reducing the number of rows in a versioned table's delta tables. It is recommended after compressing to update each feature dataset's DBMS table statistics by executing the IDatasetAnalyze::Analyze method interface or your DBMS specific command.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Returns:
A reference to a com.esri.arcgis.geodatabase.IEnumVersionInfo
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.