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
- requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
Return Value
Type: System.Collections.Generic.Dictionary<String, String>
Dictionary that contains connection strings. Key - database category, value - connection 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.
See Also
Reference
TeamFoundationDatabaseSettings Class