com.esri.arcgis.carto
Interface IMapTableSourceDescription

All Superinterfaces:
Serializable
All Known Implementing Classes:
MapTableSourceDescription

public interface IMapTableSourceDescription
extends Serializable

Provides access to the available properties of a Map Table Source Description object.

Product Availability

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


Method Summary
 int getMapTableID()
          The table ID.
 String getVersionName()
          Version name.
 void setMapTableID(int mapTableID)
          The table ID.
 void setVersionName(String pVersionName)
          Version name.
 

Method Detail

getMapTableID

int getMapTableID()
                  throws IOException,
                         AutomationException
The table ID. This is a unique ID for the layer, and is used to identify one of the existing tables.

Remarks

use IMapTableInfo::ID to get id for an existing layer/table.

Product Availability

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

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

setMapTableID

void setMapTableID(int mapTableID)
                   throws IOException,
                          AutomationException
The table ID. This is a unique ID for the layer, and is used to identify one of the existing tables.

Product Availability

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

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

getVersionName

String getVersionName()
                      throws IOException,
                             AutomationException
Version name. Used to change data source of existing table or layer.

Remarks

Note: if the layert/table has joins and all participating layers/tables are from the same workspace then setting this value changs version of all them.

Product Availability

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

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

setVersionName

void setVersionName(String pVersionName)
                    throws IOException,
                           AutomationException
Version name. Used to change data source of existing table or layer.

Product Availability

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

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