Gets or sets the connection properties for the ServiceLayers underlying service.

Namespace:  ESRI.ArcGISExplorer.Mapping

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

Syntax

C#
public ServiceConnectionProperties ServiceConnectionProperties { get; set; }
Visual Basic (Declaration)
Public Property ServiceConnectionProperties As ServiceConnectionProperties

Field Value

A ServiceConnectionProperties object containing the connection parameters for the ServiceLayers underlying service.

Remarks

In order to successfully Connect()()() a ServiceLayer to a service you must specify the connection details using this property. This varies according to the type of service that the layer references, but typically will include the URL to the service endpoint, the service name and optionally a sub service. A username and password are also required if connecting to a secure service.

The property is set implicitly if you specify the ServiceConnectionProperties when you create the ServiceLayer, or if you use one of the static Open methods.

See Also