C# Class OpenSlx.Lib.Utility.LegacySlx.SlxConnectionInfo

Used to enumerate connections on a SalesLogix installation and build the connection strings. Really more for legacy installations since it will access the connections defined by the LAN client.
Afficher le fichier Open project: nicocrm/OpenSlx Class Usage Examples

Méthodes publiques

Méthode Description
BuildConnectionString ( ) : String

Build connection string with the default password. If the password has not been set yet, it will be passed as a blank password.

BuildConnectionString ( String password ) : String

Create a connection string using the provided password. Note this doesn't modify the Password property.

BuildConnectionString ( String username, String password ) : String

Build a user connection string. Note that this doesn't modify the Username or Password properties.

ListAllConnections ( ) : IList

Read list of connections defined in registry and return them in order. The connections don't include the password as this is not stored in the registry. If no connection is defined, an empty list is returned.

SlxConnectionInfo ( ) : System
SlxConnectionInfo ( String connectionString ) : System

Define the SlxConnectionInfo with pre-built connection string.

ToString ( ) : string

Method Details

BuildConnectionString() public méthode

Build connection string with the default password. If the password has not been set yet, it will be passed as a blank password.
public BuildConnectionString ( ) : String
Résultat String

BuildConnectionString() public méthode

Create a connection string using the provided password. Note this doesn't modify the Password property.
public BuildConnectionString ( String password ) : String
password String
Résultat String

BuildConnectionString() public méthode

Build a user connection string. Note that this doesn't modify the Username or Password properties.
public BuildConnectionString ( String username, String password ) : String
username String
password String
Résultat String

ListAllConnections() public static méthode

Read list of connections defined in registry and return them in order. The connections don't include the password as this is not stored in the registry. If no connection is defined, an empty list is returned.
public static ListAllConnections ( ) : IList
Résultat IList

SlxConnectionInfo() public méthode

public SlxConnectionInfo ( ) : System
Résultat System

SlxConnectionInfo() public méthode

Define the SlxConnectionInfo with pre-built connection string.
public SlxConnectionInfo ( String connectionString ) : System
connectionString String
Résultat System

ToString() public méthode

public ToString ( ) : string
Résultat string