Delen via


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

Return Value

Type: array<System.String[]
a collection of the connection strings to likely used by TFS to access this host

.NET Framework Security

See Also

Reference

TeamFoundationDatabaseSettings Class

Microsoft.TeamFoundation.Framework.Server Namespace