C# Class AnfiniL.SqlServerTools.Impl.ServerConnector

Inheritance: IServerConnector
显示文件 Open project: ren85/free-sql-server-profiler

Public Methods

Method Description
GetServerList ( ) : string[]
TestConnection ( string serverName, string &error ) : bool
TestConnection ( string serverName, string userName, string password, string &error ) : bool
TestRawConnection ( string rawConnectionString, string &error ) : bool

Private Methods

Method Description
TestServerConnection ( ServerConnection sc, string &error ) : bool

Method Details

GetServerList() public method

public GetServerList ( ) : string[]
return string[]

TestConnection() public method

public TestConnection ( string serverName, string &error ) : bool
serverName string
error string
return bool

TestConnection() public method

public TestConnection ( string serverName, string userName, string password, string &error ) : bool
serverName string
userName string
password string
error string
return bool

TestRawConnection() public method

public TestRawConnection ( string rawConnectionString, string &error ) : bool
rawConnectionString string
error string
return bool