C# Class IBE.SQL.DBProcess

Inheritance: IDisposable
Mostra file Open project: Duke-Jones/ED-IBE Class Usage Examples

Public Methods

Method Description
DBProcess ( DBProcessParams Parameter ) : System

starts the database process if it's not running

Dispose ( ) : void
IsConnectionOnPort ( UInt16 port ) : System.Boolean

returns true, if this port has a active tcp connection

IsListenerOnPort ( UInt16 port ) : System.Boolean

returns true, if this port has a active tcp listener

StopServer ( String user, String pass ) : void

stops the sql server

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Method Details

DBProcess() public method

starts the database process if it's not running
public DBProcess ( DBProcessParams Parameter ) : System
Parameter DBProcessParams
return System

Dispose() public method

public Dispose ( ) : void
return void

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

IsConnectionOnPort() public static method

returns true, if this port has a active tcp connection
public static IsConnectionOnPort ( UInt16 port ) : System.Boolean
port System.UInt16
return System.Boolean

IsListenerOnPort() public static method

returns true, if this port has a active tcp listener
public static IsListenerOnPort ( UInt16 port ) : System.Boolean
port System.UInt16
return System.Boolean

StopServer() public method

stops the sql server
public StopServer ( String user, String pass ) : void
user String
pass String
return void