ServicingContext.GetConnectionString, méthode

Obtient la chaîne de connexion pour la base de données logique spécifiée. Si la chaîne de connexion pour la catégorie spécifiée n'est pas définie et le fallbackOnFramework est vrai, la chaîne de connexion d'infrastructure est retournée.

Espace de noms :  Microsoft.TeamFoundation.Framework.Server
Assembly :  Microsoft.TeamFoundation.Framework.Server (dans Microsoft.TeamFoundation.Framework.Server.dll)

Syntaxe

'Déclaration
Public Function GetConnectionString ( _
    category As String, _
    fallbackOnFramework As Boolean _
) As String
public string GetConnectionString(
    string category,
    bool fallbackOnFramework
)

Paramètres

Valeur de retour

Type : System.String
retourne String ;

Sécurité .NET Framework

Voir aussi

Référence

ServicingContext Classe

Microsoft.TeamFoundation.Framework.Server, espace de noms