Partager via


TeamFoundationDatabaseSettings.QueryConnectionStrings Method (TeamFoundationRequestContext)

Returns connection strings for each logical database.

Namespace:  Microsoft.TeamFoundation.Framework.Server
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)

Syntax

'Declaration
Public Function QueryConnectionStrings ( _
    requestContext As TeamFoundationRequestContext _
) As Dictionary(Of String, String)
public Dictionary<string, string> QueryConnectionStrings(
    TeamFoundationRequestContext requestContext
)
public:
Dictionary<String^, String^>^ QueryConnectionStrings(
    TeamFoundationRequestContext^ requestContext
)
member QueryConnectionStrings : 
        requestContext:TeamFoundationRequestContext -> Dictionary<string, string> 
public function QueryConnectionStrings(
    requestContext : TeamFoundationRequestContext
) : Dictionary<String, String>

Parameters

Return Value

Type: System.Collections.Generic.Dictionary<String, String>
Dictionary that contains connection strings. Key - database category, value - connection string.

.NET Framework Security

See Also

Reference

TeamFoundationDatabaseSettings Class

QueryConnectionStrings Overload

Microsoft.TeamFoundation.Framework.Server Namespace