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.
파일 보기 프로젝트 열기: nicocrm/OpenSlx 1 사용 예제들

공개 메소드들

메소드 설명
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