Partager via


Méthode ToString

Returns the object as a string value.

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 ConnectionInfoBase
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 ConnectionInfoBase object.