com.esri.arcgis.carto
Interface IDataSourceDescription

All Superinterfaces:
Serializable
All Known Implementing Classes:
QueryTableDataSourceDescription, RasterDataSourceDescription, TableDataSourceDescription

public interface IDataSourceDescription
extends Serializable

Provides access to the available properties of a datasource description object.

Product Availability

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


Method Summary
 String getWorkspaceID()
          ID of a workspace that is registered with the Map Service.
 void setWorkspaceID(String pWorkspaceID)
          ID of a workspace that is registered with the Map Service.
 

Method Detail

getWorkspaceID

String getWorkspaceID()
                      throws IOException,
                             AutomationException
ID of a workspace that is registered with the Map Service.

Remarks

Note: this is the ID that is assigned to each registered workspace by the author at the publishing time. MapServer API does not provide any property or function to retrieve them as a client. You need to get it from the mapservice's configuration.

Product Availability

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

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

setWorkspaceID

void setWorkspaceID(String pWorkspaceID)
                    throws IOException,
                           AutomationException
ID of a workspace that is registered with the Map Service.

Product Availability

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

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