com.esri.arcgis.geodatabase
Interface IVersionedWorkspace4

All Superinterfaces:
IVersionedWorkspace, IVersionedWorkspace2, IVersionedWorkspace3, Serializable

public interface IVersionedWorkspace4
extends IVersionedWorkspace3, Serializable

Provides access to members that manage versions.

Product Availability

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


Method Summary
 IEnumVersionInfo getDescendantVersions(String version, boolean orderForReconcileAndPost)
          A list of descendant versions of a version that can be sorted to optimize reconcile and post.
 IEnumVersionInfo getParentVersions()
          A list of versions that have child versions.
 
Methods inherited from interface com.esri.arcgis.geodatabase.IVersionedWorkspace3
getRecommendedSyncOrder
 
Methods inherited from interface com.esri.arcgis.geodatabase.IVersionedWorkspace2
getRecommendedReconcileOrder
 
Methods inherited from interface com.esri.arcgis.geodatabase.IVersionedWorkspace
compress, findVersion, getDefaultVersion, getVersions
 

Method Detail

getDescendantVersions

IEnumVersionInfo getDescendantVersions(String version,
                                       boolean orderForReconcileAndPost)
                                       throws IOException,
                                              AutomationException
A list of descendant versions of a version that can be sorted to optimize reconcile and post.

Product Availability

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

Parameters:
version - The version (in)
orderForReconcileAndPost - The orderForReconcileAndPost (in)
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.

getParentVersions

IEnumVersionInfo getParentVersions()
                                   throws IOException,
                                          AutomationException
A list of versions that have child versions.

Remarks

Returns an enumeration of all versions that have children.

Product Availability

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

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.