Send feedback on this topic.
Teradata.Client.Provider
ConnectionPooling Property



Teradata.Client.Provider Namespace > TdConnectionStringBuilder Class : ConnectionPooling Property
Enables or disables connection pooling.
Syntax
'Declaration
 
Public Property ConnectionPooling As Boolean
'Usage
 
Dim instance As TdConnectionStringBuilder
Dim value As Boolean
 
instance.ConnectionPooling = value
 
value = instance.ConnectionPooling
public bool ConnectionPooling {get; set;}
public:
property bool ConnectionPooling {
   bool get();
   void set (    bool value);
}
Remarks

When set to true, actual Teradata sessions are pooled and shared across instances of the TdConnection class. If the pool is empty or a Teradata session is not available, then a Teradata session is created and returned to the application, if the number of sessions does not exceed the TdConnectionStringBuilder.MaxPoolSize.

Default Value: True

Requirements
ProductVersionsPlatforms
.NET2.1, 3.1, 6Windows, Linux, MacOS
.NET Framework4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8Windows
.NET Standard2.0Windows, Linux, MacOS
See Also

Reference

TdConnectionStringBuilder Class
TdConnectionStringBuilder Members