com.esri.arcgis.networkanalyst
Interface INAServerNetworkDescription2

All Superinterfaces:
INAServerNetworkDescription, Serializable
All Known Implementing Classes:
NAServerNetworkDescription

public interface INAServerNetworkDescription2
extends INAServerNetworkDescription, Serializable

Deprecated as of 10.0. Provides access to properties that describe the network dataset.

Remarks

At version 10.1, ArcGIS for Server no longer supports performing network analysis via local connections using the GISServer and GISClient APIs. Use the SOAP or REST API instead.

The INAServerNetworkDescription2 interface is used to access the properties of a network dataset within NAServer.

Product Availability

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


Method Summary
 Date getBuildTime()
          Network Dataset build time.
 INAServerNetworkDirections getNetworkDirections()
          Description of the directions configured for the network dataset.
 int getState()
          Network Dataset build state.
 
Methods inherited from interface com.esri.arcgis.networkanalyst.INAServerNetworkDescription
getName, getNetworkAttributes, getNetworkSources
 

Method Detail

getNetworkDirections

INAServerNetworkDirections getNetworkDirections()
                                                throws IOException,
                                                       AutomationException
Description of the directions configured for the network dataset.

Remarks

NetworkDirections returns an instance of NAServerNetworkDirections class that contains lists of available directions styles and supported languages.

Product Availability

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

Returns:
A reference to a com.esri.arcgis.networkanalyst.INAServerNetworkDirections
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getBuildTime

Date getBuildTime()
                  throws IOException,
                         AutomationException
Network Dataset build time.

Remarks

BuildTime returns the last time the network dataset was built (in UTC time).

Product Availability

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

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

getState

int getState()
             throws IOException,
                    AutomationException
Network Dataset build state.

Remarks

The State property indicates if the network dataset is empty, unbuilt, or built. If it has any dirty areas, it is considered unbuilt.

Product Availability

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

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