com.esri.arcgis.carto
Interface IMapServerRelationships

All Superinterfaces:
Serializable
All Known Implementing Classes:
MapServerRelationships

public interface IMapServerRelationships
extends Serializable

Provides access to the Map Server Relationships Interface.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux


Method Summary
 void add(IMapServerRelationship rel)
          Adds a relationship.
 int getCount()
          The relationship count.
 IMapServerRelationship getElement(int index)
          The relationship at the specified position.
 void insert(int index, IMapServerRelationship row)
          Adds a relationship at the specified position.
 void remove(int index)
          Removes the relationship at the specified position.
 void removeAll()
          Removes all relationships.
 

Method Detail

getCount

int getCount()
             throws IOException,
                    AutomationException
The relationship count.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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

getElement

IMapServerRelationship getElement(int index)
                                  throws IOException,
                                         AutomationException
The relationship at the specified position.

Product Availability

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

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

remove

void remove(int index)
            throws IOException,
                   AutomationException
Removes the relationship at the specified position.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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

removeAll

void removeAll()
               throws IOException,
                      AutomationException
Removes all relationships.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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

add

void add(IMapServerRelationship rel)
         throws IOException,
                AutomationException
Adds a relationship.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Parameters:
rel - A reference to a com.esri.arcgis.carto.IMapServerRelationship (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

insert

void insert(int index,
            IMapServerRelationship row)
            throws IOException,
                   AutomationException
Adds a relationship at the specified position.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Parameters:
index - The index (in)
row - A reference to a com.esri.arcgis.carto.IMapServerRelationship (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.