Gets or sets pooling mode.
'Declaration
Public Property Pooling As Boolean
public bool Pooling {get; set;}
Property Value
If
true (the default value), when a
SqlConnection is closed, the internal connection object is not actually closed, and is placed object is drawn from the appropriate pool or is created and added to the appropriate pool.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2