![]() ![]() |
ESRI.ArcGIS.ADF.IMS | |
Shared Property | |
See Also Send Feedback |
ESRI.ArcGIS.ADF.IMS.Data Namespace > ShapeWorkspace Class : Shared Property |
Visual Basic (Declaration) | |
---|---|
Public Property Shared As Boolean |
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As ShapeWorkspace Dim value As Boolean instance.Shared = value value = instance.Shared |
C# | |
---|---|
public bool Shared {get; set;} |
When set to True, the ArcIMS Spatial Server checks if a shapefile has been modified outside of ArcIMS. While a shapefile is being edited, ArcIMS sends a message to the ArcIMS Spatial Server log files notifying that an update is in progress. When set to False, the ArcIMS Spatial Server does not check whether a shapefile has been updated. Access to the shapefile is faster, but the integrity of the shapefile is at risk if it is modified. It is recommended to use True unless safeguards are in place to assure that the shapefile is not edited.
In general, access to shapefiles is much faster if the shapefiles reside on the same machine as the ArcIMS Spatial Server. If the shapefiles are on a separate machine, access is faster when set to False, but the integrity of the shapefile is at risk.
When using the CodePage, GeoIndexDir, and Shared properties, you should be aware of the following. Workspaces are not duplicated inside the Spatial Server. Therefore, if you start one service using ShapeWorkspace "A" and a second service also using the same workspace, the values for CodePage, GeoIndexDir, and Shared from the first service are used as the values for the second service. If in the first service you set Shared = False, and in the second service you set Shared = True, the Spatial Server will ignore Shared = True and use Shared = False instead. The same is true for values used in CodePage and GeoIndexDir.
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family