com.esri.arcgis.gisclient
Interface IAGSServerConnectionName3

All Superinterfaces:
IAGSServerConnectionName, IAGSServerConnectionName2, Serializable

public interface IAGSServerConnectionName3
extends IAGSServerConnectionName2, 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
 int getConnectionMode()
          The connect mode.
 int getServerType()
          The ArcGIS server type.
 void setConnectionMode(int pConnMode)
          The connect mode.
 void setServerType(int pServerType)
          The ArcGIS server type.
 
Methods inherited from interface com.esri.arcgis.gisclient.IAGSServerConnectionName2
getConnectionString, getServerConnectionFactoryProgID, setConnectionString, setServerConnectionFactoryProgID
 
Methods inherited from interface com.esri.arcgis.gisclient.IAGSServerConnectionName
getConnectionProperties, getConnectionType, setConnectionProperties
 

Method Detail

getConnectionMode

int getConnectionMode()
                      throws IOException,
                             AutomationException
The connect mode.

Product Availability

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

Returns:
A com.esri.arcgis.gisclient.esriAGSConnectionMode constant
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setConnectionMode

void setConnectionMode(int pConnMode)
                       throws IOException,
                              AutomationException
The connect mode.

Product Availability

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

Parameters:
pConnMode - A com.esri.arcgis.gisclient.esriAGSConnectionMode constant (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getServerType

int getServerType()
                  throws IOException,
                         AutomationException
The ArcGIS server type.

Product Availability

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

Returns:
A com.esri.arcgis.gisclient.esriAGSServerType constant
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setServerType

void setServerType(int pServerType)
                   throws IOException,
                          AutomationException
The ArcGIS server type.

Product Availability

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

Parameters:
pServerType - A com.esri.arcgis.gisclient.esriAGSServerType constant (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.