com.esri.arcgis.location
Interface ILocatorWorkspaceName2

All Superinterfaces:
ILocatorWorkspaceName, Serializable
All Known Implementing Classes:
LocatorWorkspaceName

public interface ILocatorWorkspaceName2
extends ILocatorWorkspaceName, Serializable

Provides access to members that describe a locator workspace.

When To Use

Use the ILocatorWorkspaceName2 interface to get information that describes a locator workspace.

Product Availability

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

See Also:
ILocatorWorkspace2, ILocatorManager2, DatabaseLocatorWorkspace, ILocatorWorkspace, ILocatorManager.getLocatorWorkspaceFromPath(String), LocatorEnumerator, ILocatorWorkspaceName2, LocatorWorkspaceName, IDatabaseLocatorWorkspace, LocalLocatorWorkspace, ILocatorManager, LocatorManager, ILocatorWorkspaceName

Method Summary
 IAGSServerConnectionName getAGSServerConnectionName()
          The name of the ArcGIS server connection that contains the locator workspace.
 void setAGSServerConnectionNameByRef(IAGSServerConnectionName serverConnection)
          The name of the ArcGIS server connection that contains the locator workspace.
 
Methods inherited from interface com.esri.arcgis.geodatabase.ILocatorWorkspaceName
getPath, getType, getWorkspaceName, setPath, setWorkspaceNameByRef
 

Method Detail

getAGSServerConnectionName

IAGSServerConnectionName getAGSServerConnectionName()
                                                    throws IOException,
                                                           AutomationException
The name of the ArcGIS server connection that contains the locator workspace.

Description

Returns an AGSServerConnectionName object that represents the ArcGIS Server connection that contains the locator workspace.

Remarks

If the locator workspace represented by the LocatorWorkspaceName object represents a locator workspace from an ArcGIS Server, this property returns a reference to an ArcGISServerConnectionName object that represents the ArcGIS Server connection.

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.
See Also:
IEnumServerObjectType, AGSLocatorWorkspace, IEnumServerObjectTypeInfo, GeocodeServer, ILocatorManager2.getAGSLocatorWorkspace(com.esri.arcgis.gisclient.IAGSServerConnectionName), ServerObject, ILocatorWorkspaceName2.getAGSServerConnectionName(), AGSAddressLocator

setAGSServerConnectionNameByRef

void setAGSServerConnectionNameByRef(IAGSServerConnectionName serverConnection)
                                     throws IOException,
                                            AutomationException
The name of the ArcGIS server connection that contains the locator workspace.

Product Availability

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

Parameters:
serverConnection - A reference to a com.esri.arcgis.gisclient.IAGSServerConnectionName (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.