com.esri.arcgis.gisclient
Interface IAGSServerConnectionFactory3
- All Superinterfaces:
- IAGSServerConnectionFactory, IAGSServerConnectionFactory2, Serializable
- All Known Implementing Classes:
- AGSServerConnectionFactory
public interface IAGSServerConnectionFactory3
- extends IAGSServerConnectionFactory2, Serializable
Provides access to members that create and open GIS server connections and supply server connection factory information.
Product Availability
Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.
getHostedServers
IEnumAGSServerConnectionName getHostedServers(int hWnd)
throws IOException,
AutomationException
- Returns server object names for the hosted servers accessible to the user.
Product Availability
Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.
- Parameters:
hWnd
- The hWnd (A COM typedef) (in)
- Returns:
- A reference to a com.esri.arcgis.gisclient.IEnumAGSServerConnectionName
- Throws:
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
getInServerConnectionName
IAGSServerConnectionName getInServerConnectionName()
throws IOException,
AutomationException
- Returns a server connection name that can be used to connect to the server from within a server process. Fails if run outside a server process.
Product Availability
Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.
- Returns:
- A reference to a com.esri.arcgis.gisclient.IAGSServerConnectionName
- Throws:
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.