Méthode | Description | |
---|---|---|
Dispose ( ) : void |
Releases all the resources used by the PIConnectionPool object.
|
|
GetPooledConnection ( string serverName, string userName = null, string password = null, int connectTimeout = PIConnection.DefaultConnectTimeout ) : PIConnection |
Gets a connection from the pool or creates a new one if all current connections are being used at peak access.
|
|
PIConnectionPool ( ) : System |
Creates a new PIConnectionPool.
|
|
PIConnectionPool ( int minimumPoolSize ) : System |
Creates a new PIConnectionPool.
|
|
ReturnPooledConnection ( PIConnection connection ) : void |
Returns PIConnection to the pool.
|
Méthode | Description | |
---|---|---|
Dispose ( bool disposing ) : void |
Releases the unmanaged resources used by the PIConnectionPool object and optionally releases the managed resources.
|
Méthode | Description | |
---|---|---|
connection_Disconnected ( object sender, |
protected Dispose ( bool disposing ) : void | ||
disposing | bool | true to release both managed and unmanaged resources; false to release only unmanaged resources. |
Résultat | void |
public GetPooledConnection ( string serverName, string userName = null, string password = null, int connectTimeout = PIConnection.DefaultConnectTimeout ) : PIConnection | ||
serverName | string | Name of the PI server for the adapter's PI connection. |
userName | string | Name of the PI user ID for the adapter's PI connection. |
password | string | Password used for the adapter's PI connection. |
connectTimeout | int | Timeout interval (in milliseconds) for the adapter's connection. |
Résultat | PIConnection |
public PIConnectionPool ( int minimumPoolSize ) : System | ||
minimumPoolSize | int | Minimum pool size to maintain. |
Résultat | System |
public ReturnPooledConnection ( PIConnection connection ) : void | ||
connection | PIConnection | |
Résultat | void |