Namespace:
ESRI.ArcGISExplorer.Data
Assembly:
ESRI.ArcGISExplorer (in ESRI.ArcGISExplorer.dll) Version: 2.0.0.900 (2.0.0.900)
Syntax
C# |
---|
public sealed class ServiceConnectionProperties |
Visual Basic (Declaration) |
---|
Public NotInheritable Class ServiceConnectionProperties |
Remarks
This class is only used by the ServiceLayer class in the Mapping namespace and is not used by any of the classes within the Data namespace.
A ServiceLayer can only be connected to a single data source, so some of the properties will always remain uninitialized for a particular ServiceType. For example, the SubServiceName property is only relevant when a ServiceLayer is being connected to an ArcGIS Server Globe service.
You cannot set the properties of a ServiceConnectionProperties object if it has been used to connect a layer and the IsConnected property is trueTruetruetrue (True in Visual Basic). If you want to reuse a ServiceConnectionProperties object to make a connection to a different data source Clone the object then optionally Clear the existing properties.
For services which require authentication, you can use the SetUserNamePassword method after the ServiceConnectionProperties object has been created.
Inheritance Hierarchy
See Also
ServiceConnectionProperties Members
ServiceConnectionProperties Constructor
ServiceConnectionProperties Methods
ServiceConnectionProperties Properties