C# Класс 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.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Описание методов

BuildConnectionString() публичный Метод

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
Результат String

BuildConnectionString() публичный Метод

Create a connection string using the provided password. Note this doesn't modify the Password property.
public BuildConnectionString ( String password ) : String
password String
Результат String

BuildConnectionString() публичный Метод

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
Результат String

ListAllConnections() публичный статический Метод

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
Результат IList

SlxConnectionInfo() публичный Метод

public SlxConnectionInfo ( ) : System
Результат System

SlxConnectionInfo() публичный Метод

Define the SlxConnectionInfo with pre-built connection string.
public SlxConnectionInfo ( String connectionString ) : System
connectionString String
Результат System

ToString() публичный Метод

public ToString ( ) : string
Результат string