RegistrationUtilities.GetConnectionString Method
Get the generated connection string, depending on given registration entry and database name.
Namespace: Microsoft.TeamFoundation.Server
Assembly: Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)
Syntax
'Declaration
Public Shared Function GetConnectionString ( _
entry As RegistrationEntry, _
databaseName As String _
) As String
public static string GetConnectionString(
RegistrationEntry entry,
string databaseName
)
public:
static String^ GetConnectionString(
RegistrationEntry^ entry,
String^ databaseName
)
static member GetConnectionString :
entry:RegistrationEntry *
databaseName:string -> string
public static function GetConnectionString(
entry : RegistrationEntry,
databaseName : String
) : String
Parameters
entry
Type: Microsoft.TeamFoundation.Server.RegistrationEntryRegistration entry
databaseName
Type: System.StringThe Name of database.
Return Value
Type: System.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.