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.
Gets connection string for the specified logical database. If connection string for the specified category is not defined and fallbackOnFramework is true, Framework connection string is returned.
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Public Function GetConnectionString ( _
category As String, _
fallbackOnFramework As Boolean _
) As String
public string GetConnectionString(
string category,
bool fallbackOnFramework
)
public:
String^ GetConnectionString(
String^ category,
bool fallbackOnFramework
)
member GetConnectionString :
category:string *
fallbackOnFramework:bool -> string
public function GetConnectionString(
category : String,
fallbackOnFramework : boolean
) : String
Parameters
- category
Type: System.String
- fallbackOnFramework
Type: System.Boolean
Return Value
Type: System.String
Returns 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.