C# 클래스 Eastern.OServer

상속: IDisposable
파일 보기 프로젝트 열기: yojimbo87/Eastern 1 사용 예제들

Private Properties

프로퍼티 타입 설명

공개 메소드들

메소드 설명
Close ( ) : void

Closes connection with server instance and resets session ID, user name and user password assigned to this object. This method is also called when ODatabase instance is being disposed.

CreateDatabase ( string databaseName, ODatabaseType databaseType, OStorageType storageType ) : bool

Creates new database on currently connected server instance.

DatabaseExist ( string databaseName ) : bool

Checks if specified database exists on currently connected server instance.

DeleteDatabase ( string databaseName ) : void

Deletes specified database on currently connected server instance.

Dispose ( ) : void

Closes connection with server instance and disposes this object.

OServer ( string hostname, int port, string userName, string userPassword ) : System

Initiates single dedicated connection with the server instance.

Shutdown ( ) : bool

Sends shut down command to currently connected server instance.

메소드 상세

Close() 공개 메소드

Closes connection with server instance and resets session ID, user name and user password assigned to this object. This method is also called when ODatabase instance is being disposed.
public Close ( ) : void
리턴 void

CreateDatabase() 공개 메소드

Creates new database on currently connected server instance.
public CreateDatabase ( string databaseName, ODatabaseType databaseType, OStorageType storageType ) : bool
databaseName string
databaseType ODatabaseType
storageType OStorageType
리턴 bool

DatabaseExist() 공개 메소드

Checks if specified database exists on currently connected server instance.
public DatabaseExist ( string databaseName ) : bool
databaseName string
리턴 bool

DeleteDatabase() 공개 메소드

Deletes specified database on currently connected server instance.
public DeleteDatabase ( string databaseName ) : void
databaseName string
리턴 void

Dispose() 공개 메소드

Closes connection with server instance and disposes this object.
public Dispose ( ) : void
리턴 void

OServer() 공개 메소드

Initiates single dedicated connection with the server instance.
public OServer ( string hostname, int port, string userName, string userPassword ) : System
hostname string
port int
userName string
userPassword string
리턴 System

Shutdown() 공개 메소드

Sends shut down command to currently connected server instance.
public Shutdown ( ) : bool
리턴 bool