|
|
PIConnection
|
Note: This API is now obsolete.
[ObsoleteAttribute("Pooling connections was a PI-SDK optimization technique, this is not required for AF-SDK implementations.", false)] public class PIConnectionPool : IDisposable
The PIConnectionPool type exposes the following members.
| Name | Description | |
|---|---|---|
| PIConnectionPool | Creates a new PIConnectionPool. | |
| PIConnectionPool(Int32) | Creates a new PIConnectionPool. |
| Name | Description | |
|---|---|---|
| AccessCountPerConnection | Gets or sets maximum accessibility count for each PIConnection. | |
| MinimumPoolSize | Gets minimum pool size for the PIConnectionPool. | |
| Size | Gets current size of connection pool. |
| Name | Description | |
|---|---|---|
| Dispose | Releases all the resources used by the PIConnectionPool object. | |
| Dispose(Boolean) | Releases the unmanaged resources used by the PIConnectionPool object and optionally releases the managed resources. | |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) | |
| Finalize |
Releases the unmanaged resources before the PIConnectionPool object is reclaimed by GC.
(Overrides ObjectFinalize) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object) | |
| GetPooledConnection | Gets a connection from the pool or creates a new one if all current connections are being used at peak access. | |
| GetType | Gets the Type of the current instance. (Inherited from Object) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) | |
| ReturnPooledConnection | Returns PIConnection to the pool. | |
| ToString | Returns a string that represents the current object. (Inherited from Object) |
| Name | Description | |
|---|---|---|
| Disconnected | Raised when a PIConnection has been disconnected from server. |
| Name | Description | |
|---|---|---|
| DefaultAccessCountPerConnection | Default value for AccessCountPerConnection. | |
| DefaultMinimumPoolSize | Default value for MinimumPoolSize. |