|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IInitGeocodeServer
Provides access to members for initializing a geocode server.
This interface is available only if the GeocodeServer was obtained for use by co-creating the GeocodeServer object.
Use the IInitGeocodeServer interface to define the properties of a GeocodeServer.
Method Summary | |
---|---|
void |
attachToLocator(ILocatorName locName)
Attach this service to the locator specified by the locator name. |
String |
getAdjustableProperties()
The list of properties (comma delimited) that can be modified at runtime (for a given method). |
int |
getSuggestedBatchSize()
The suggested number of addresses to send to a server in one batch request. |
void |
setAdjustableProperties(String propertyList)
The list of properties (comma delimited) that can be modified at runtime (for a given method). |
void |
setSuggestedBatchSize(int size)
The suggested number of addresses to send to a server in one batch request. |
Method Detail |
---|
void attachToLocator(ILocatorName locName) throws IOException, AutomationException
To create a new GeocodeServer in a Desktop or Engine environment, simply create a new GeocodeServer object and attach the address locator on which you want to base the GeocodeServer using the AttachToLocator method.
locName
- A reference to a com.esri.arcgis.geodatabase.ILocatorName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.String getAdjustableProperties() throws IOException, AutomationException
The IInitGeocodeServer interface is available only if the GeocodeServer was obtained for use by co-creating the GeocodeServer object.
The AdjustableProperties method returns a comma-delimited string containing the list of properties that a user or developer can modify at runtime when using a GeocodeServer. Use this method to inspect and restrict the set of properties that users and developers can modify. Refer to the IGeocodeServer::GetLocatorProperties method for a list of property names that can be used.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setAdjustableProperties(String propertyList) throws IOException, AutomationException
propertyList
- The propertyList (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getSuggestedBatchSize() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setSuggestedBatchSize(int size) throws IOException, AutomationException
size
- The size (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |