ESRI.ArcGIS.ADF.IMS | |
Type Property | |
See Also Example |
ESRI.ArcGIS.ADF.IMS.Carto Namespace > MapService Class : Type Property |
Visual Basic (Declaration) | |
---|---|
Public ReadOnly Property Type As ServiceType |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public ServiceType Type {get;} |
This example prints to a label control a message about the type of service by
checking the Type property of an existing MapService object.
This property, as with all properties of MapService, is read-only.
C# | Copy Code |
---|---|
if (mapService.Type == ESRI.ArcGIS.ADF.IMS.ServiceType.ArcMapServer) |
Visual Basic | Copy Code |
---|---|
If mapService.Type = ESRI.ArcGIS.ADF.IMS.ServiceType.ArcMapServer Then |
Whether the map service is an image service or an ArcMap service.
Image services and ArcMap services have different capabilities. ArcMap services are created with an MXD project file authored in the ArcMap product, and have most of the cartographic capabilities of ArcMap, and may have multiple data frames and a layout. Image services have certain capabilities not available in ArcMap services. Some of these are:
- Ability to modify rendering and symbols of feature layers.
- Ability to add layers dynamically to the map for display and query.
- Support for geocoding and extraction of data layers, if enabled in the map service when authored.
Consult the ArcIMS Help documentation for details on what can be done with each type of service.