MapMatrix NetGIS Class Library

Command.AddConnection Method 

Adds a new Connection to this Command. This Connection is automatically opened. The new connection object is automatically set as the Connection property of this command. You can not add the same connection (or one that points the the same server and url) to this Command more than once.

public void AddConnection(
   string ServerUrl,
   string WebServiceName,
   string ClientConfiguration,
   string UserName,
   string Password
);

Parameters

ServerUrl
Url of the Mapping Web Server
WebServiceName
Name of the Mapping Web Service
ClientConfiguration
Client Configuration Name used to identify the layers and data that is available for use
UserName
Name of User Account, used for security
Password
Password for the User Account

See Also

Command Class | MapMatrix.MapControls Namespace