Connects the GeoRssLayer to an 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 bool Connect()
Visual Basic (Declaration)
Public Overrides Function Connect As Boolean

Return Value

trueTruetruetrue (True in Visual Basic) if the Layer was connected successfully; otherwise falseFalsefalsefalse (False in Visual Basic)

Remarks

In order for the data to be displayed on a map, the Layer must be in a connected state. Use the Connect() method to establish a connection to this layers underlying data source.

If the connection properties specified are incorrect, the GeoRssLayer will remain disconnected but no exception will be thrown; use the Layer.ConnectionStatus property to diagnose why the Layer could not be connected.

See Also