IDataConnectionProperties.ToDisplayString, méthode

Extrait une chaîne de connexion pour l'affichage affiche à l'écran reflétant l'ensemble actuel de propriétés de connexion, moins les informations sensibles «  » qui ne doivent pas être affichées.

Espace de noms :  Microsoft.Data.ConnectionUI
Assembly :  Microsoft.Data.ConnectionUI (dans Microsoft.Data.ConnectionUI.dll)

Syntaxe

'Déclaration
Function ToDisplayString As String
string ToDisplayString()
String^ ToDisplayString()
abstract ToDisplayString : unit -> string
function ToDisplayString() : String

Valeur de retour

Type : String
L'ensemble de propriétés de connexion qui conviennent à l'affichage affiche à l'écran.

Notes

Signifie « sensibles » d'informations, par exemple, mots de passe ou toute autre information owner avec l'affichage affiche à l'écran qui peut compromettre la sécurité du système ou utilisateur.

Sécurité .NET Framework

Voir aussi

Référence

IDataConnectionProperties Interface

Microsoft.Data.ConnectionUI, espace de noms

ToFullString