TeamFoundationDatabaseSettings.GetAllConnectionStrings Method
Builds a collection of the connection strings to likely used by TFS to access this host. Useful for clearing the SQL connection pool.
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Public Function GetAllConnectionStrings ( _
requestContext As TeamFoundationRequestContext _
) As String()
public string[] GetAllConnectionStrings(
TeamFoundationRequestContext requestContext
)
public:
array<String^>^ GetAllConnectionStrings(
TeamFoundationRequestContext^ requestContext
)
member GetAllConnectionStrings :
requestContext:TeamFoundationRequestContext -> string[]
public function GetAllConnectionStrings(
requestContext : TeamFoundationRequestContext
) : String[]
Parameters
requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContextrequest context
Return Value
Type: array<System.String[]
a collection of the connection strings to likely used by TFS to access this host
.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.