Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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 Shared Function QueryConnectionStrings ( _
frameworkConnectionString As String, _
hostId As Guid _
) As Dictionary(Of String, String)
public static Dictionary<string, string> QueryConnectionStrings(
string frameworkConnectionString,
Guid hostId
)
public:
static Dictionary<String^, String^>^ QueryConnectionStrings(
String^ frameworkConnectionString,
Guid hostId
)
static member QueryConnectionStrings :
frameworkConnectionString:string *
hostId:Guid -> Dictionary<string, string>
public static function QueryConnectionStrings(
frameworkConnectionString : String,
hostId : Guid
) : Dictionary<String, String>
Parameters
- frameworkConnectionString
Type: System.String
- hostId
Type: System.Guid
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