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

Target Platforms: Windows 8.1, Windows 10, Windows Server 2012 R2, Windows Server 2016, Windows Server 2019

See Also

Reference

TdConnectionStringBuilder Class
TdConnectionStringBuilder Members