com.esri.arcgis.geodatabase
Interface IVersionedView

All Superinterfaces:
Serializable

public interface IVersionedView
extends Serializable

Provides access to methods that control versioned views.

Product Availability

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


Method Summary
 void createVersionedView(String name)
          Create a versioned view.
 void dropVersionedView()
          Drop the versioned view.
 String getVersionedViewName()
          The name of the associated versioned view.
 boolean isHasVersionedView()
          Does the table have a versioned view.
 

Method Detail

isHasVersionedView

boolean isHasVersionedView()
                           throws IOException,
                                  AutomationException
Does the table have a versioned view.

Remarks

Returns True if the versioned object is associated with a versioned view; Returns False if no versioned view exists for the versioned object.

Product Availability

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

Returns:
The hasVersionedView
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getVersionedViewName

String getVersionedViewName()
                            throws IOException,
                                   AutomationException
The name of the associated versioned view.

Remarks

Returns the unqualified name as a string of the versioned classes versioned view. If get_HasVersionView returns False this property will be an empty string.

Product Availability

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

Returns:
The name
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

createVersionedView

void createVersionedView(String name)
                         throws IOException,
                                AutomationException
Create a versioned view.

Remarks

Creates a versioned view with the given name of the versioned object. The versioned view can be used to access versioned objects from SQL.

The same set of invalid charters apply to view names as to table names. e.g., ISqlSyntax.GetInvalidStartingCharacters, ISqlSyntax.GetInvalidCharacters

Product Availability

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

Parameters:
name - The name (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

dropVersionedView

void dropVersionedView()
                       throws IOException,
                              AutomationException
Drop the versioned view.

Remarks

Removes the versioned view associated with the versioned object.

Product Availability

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

Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.