TeamFoundationDatabaseSettings.ClearSqlConnectionPool Method
Clears the SQL connection pool for all the supplied connection strings.
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Public Shared Sub ClearSqlConnectionPool ( _
hostConnectionStrings As ICollection(Of String) _
)
public static void ClearSqlConnectionPool(
ICollection<string> hostConnectionStrings
)
public:
static void ClearSqlConnectionPool(
ICollection<String^>^ hostConnectionStrings
)
static member ClearSqlConnectionPool :
hostConnectionStrings:ICollection<string> -> unit
public static function ClearSqlConnectionPool(
hostConnectionStrings : ICollection<String>
)
Parameters
- hostConnectionStrings
Type: System.Collections.Generic.ICollection<String>
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.