ESRI.ArcGIS.ADF.Web.DataSources.ArcGISServer.Local
RefreshServerObjects Method
See Also 
ESRI.ArcGIS.ADF.Web.DataSources.ArcGISServer Namespace > MapResourceLocal Class : RefreshServerObjects Method




Refreshes the server object with properties of the fine-grained map objects. Gets the new refreshed default map description and applies it to the resource and its functionalities.

Syntax

Visual Basic (Declaration) 
Public Sub RefreshServerObjects() 
Visual Basic (Usage)Copy Code
Dim instance As MapResourceLocal
 
instance.RefreshServerObjects()
C# 
public void RefreshServerObjects()

Remarks

This method refreshes the properties of the "shallowly stateful" Web ADF map resource with the properties of the ArcGIS Server object on the GIS server. This method would only be necessary if the underlying server object on the GIS server has changed since being read for the Web ADF. This should only occur with non-pooled server resources, since pooled server objects are generally not changed during their lifetime. For more information on state and working with ArcGIS Server objects, see the section Access a data source specific API in the Developer Help.

See Also

© 2010 All Rights Reserved.