com.esri.arcgis.geodatabasedistributed
Interface IEnumSchemaChange

All Superinterfaces:
Serializable
All Known Implementing Classes:
IEnumSchemaChangeProxy

public interface IEnumSchemaChange
extends Serializable

Provides access to the replica schema changes.

Remarks

Provides access to members that enumerate through replica schema changes.

Product Availability

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


Method Summary
 ISchemaChangeInfo getDatasetChanges(String name, int dsType)
          The schema changes for a specific dataset.
 ISchemaChangeInfo getDomainChanges(String domainName)
          The schema changes for a specific domain.
 IReplica getToReplica()
          The replica the schema changes will be applied to.
 boolean hasChanges()
          Indicates if there are schema changes.
 ISchemaChangeInfo next()
          The next schema change in the enumeration sequence.
 void reset()
          Resets the enumeration sequence to the beginning.
 

Method Detail

reset

void reset()
           throws IOException,
                  AutomationException
Resets the enumeration sequence to the beginning.

Description

Resets the enumerator such that a subsequent next call returns the first schema change in the enumeration.

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.

next

ISchemaChangeInfo next()
                       throws IOException,
                              AutomationException
The next schema change in the enumeration sequence.

Remarks

This method returns the next schema changes as an object that implements ISchemaChangeInfo.

Product Availability

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

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

getDomainChanges

ISchemaChangeInfo getDomainChanges(String domainName)
                                   throws IOException,
                                          AutomationException
The schema changes for a specific domain.

Remarks

This method returns only the schema changes for a specific domain. This method returns a reference to ISchemaChangesInfo.

The domainName is a string name of the domain.

Product Availability

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

Parameters:
domainName - The domainName (in)
Returns:
A reference to a com.esri.arcgis.geodatabasedistributed.ISchemaChangeInfo
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDatasetChanges

ISchemaChangeInfo getDatasetChanges(String name,
                                    int dsType)
                                    throws IOException,
                                           AutomationException
The schema changes for a specific dataset.

Remarks

This method returns only the schema changes for a specific dataset. This method returns a reference to ISchemaChangesInfo.

The dsName is a string name of the dataset. The dsType uses the esriDatasetType enumeration to specify the type of dataset specified.

Product Availability

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

Parameters:
name - The name (in)
dsType - A com.esri.arcgis.geodatabase.esriDatasetType constant (in)
Returns:
A reference to a com.esri.arcgis.geodatabasedistributed.ISchemaChangeInfo
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

hasChanges

boolean hasChanges()
                   throws IOException,
                          AutomationException
Indicates if there are schema changes.

Description

The HasChanges property returns TRUE if there are schema changes, it returns FALSE if there are no schema differences.

Product Availability

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

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

getToReplica

IReplica getToReplica()
                      throws IOException,
                             AutomationException
The replica the schema changes will be applied to.

Product Availability

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

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