C# 클래스 openHistorian.Adapters.Connection

Represents an openHistorian connection.
상속: IDisposable
파일 보기 프로젝트 열기: GridProtectionAlliance/openHistorian 1 사용 예제들

공개 메소드들

메소드 설명
Connection ( string historianServer, string instanceName ) : System

Creates a new openHistorian Connection.

Dispose ( ) : void

Releases all the resources used by the Connection object.

OpenDatabase ( string instanceName = null ) : openHistorian.Snap.HistorianValue>.GSF.Snap.Services.ClientDatabaseBase

Opens new database instance for this Connection.

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

Releases the unmanaged resources used by the Connection object and optionally releases the managed resources.

메소드 상세

Connection() 공개 메소드

Creates a new openHistorian Connection.
public Connection ( string historianServer, string instanceName ) : System
historianServer string Historian server connection string, e.g., "localhost" or "myhistorian:38402"
instanceName string Instance name of historian, e.g., "PPA".
리턴 System

Dispose() 공개 메소드

Releases all the resources used by the Connection object.
public Dispose ( ) : void
리턴 void

Dispose() 보호된 메소드

Releases the unmanaged resources used by the Connection object and optionally releases the managed resources.
protected Dispose ( bool disposing ) : void
disposing bool true to release both managed and unmanaged resources; false to release only unmanaged resources.
리턴 void

OpenDatabase() 공개 메소드

Opens new database instance for this Connection.
public OpenDatabase ( string instanceName = null ) : openHistorian.Snap.HistorianValue>.GSF.Snap.Services.ClientDatabaseBase
instanceName string Instance name of historian, e.g., "PPA" - or null to use default instance name associated with this connection.
리턴 openHistorian.Snap.HistorianValue>.GSF.Snap.Services.ClientDatabaseBase