Partager via


Méthode ToString

Returns the referenced object name as a string.

Espace de noms :  Microsoft.SqlServer.Management.Common
Assembly :  Microsoft.SqlServer.ConnectionInfo (en Microsoft.SqlServer.ConnectionInfo.dll)

Syntaxe

'Déclaration
Public Overrides Function ToString As String
'Utilisation
Dim instance As ConnectionSettings
Dim returnValue As String

returnValue = instance.ToString()
public override string ToString()
public:
virtual String^ ToString() override
abstract ToString : unit -> string 
override ToString : unit -> string 
public override function ToString() : String

Valeur de retour

Type : System. . :: . .String
A String value that specifies the name of the referenced object.