com.esri.arcgis.gisclient
Interface IAGSServerConnectionName2

All Superinterfaces:
IAGSServerConnectionName, Serializable
All Known Implementing Classes:
AGSServerConnectionName

public interface IAGSServerConnectionName2
extends IAGSServerConnectionName, Serializable

Provides access to members that supply GIS server connection name information.

Product Availability

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


Method Summary
 String getConnectionString()
          The connection properties of the GIS server connection.
 String getServerConnectionFactoryProgID()
          The programmatic ID of the server connection factory.
 void setConnectionString(String connString)
          The connection properties of the GIS server connection.
 void setServerConnectionFactoryProgID(String progID)
          The programmatic ID of the server connection factory.
 
Methods inherited from interface com.esri.arcgis.gisclient.IAGSServerConnectionName
getConnectionProperties, getConnectionType, setConnectionProperties
 

Method Detail

getConnectionString

String getConnectionString()
                           throws IOException,
                                  AutomationException
The connection properties of the GIS server connection.

Product Availability

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

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

setConnectionString

void setConnectionString(String connString)
                         throws IOException,
                                AutomationException
The connection properties of the GIS server connection.

Product Availability

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

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

getServerConnectionFactoryProgID

String getServerConnectionFactoryProgID()
                                        throws IOException,
                                               AutomationException
The programmatic ID of the server connection factory.

Product Availability

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

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

setServerConnectionFactoryProgID

void setServerConnectionFactoryProgID(String progID)
                                      throws IOException,
                                             AutomationException
The programmatic ID of the server connection factory.

Product Availability

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

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