Disconnects the ServiceLayer from its underlying data source.

Namespace:  ESRI.ArcGISExplorer.Mapping

Assembly:  ESRI.ArcGISExplorer (in ESRI.ArcGISExplorer.dll) Version: 2.0.0.1500 (2.0.0.1500)

Syntax

C#
public override void Disconnect()
Visual Basic (Declaration)
Public Overrides Sub Disconnect

Remarks

Use this method to release internal resources and place the ServiceLayer into an unconnected state. It is recommended that you disconnect a ServiceLayer if it is not being used in the map.

See Also