Delen via


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

Return Value

Type: System.String

.NET Framework Security

See Also

Reference

RegistrationUtilities Class

Microsoft.TeamFoundation.Server Namespace