Partager via


ToString méthode

Returns the object in string format.

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

Syntaxe

'Déclaration
Public Overrides Function ToString As String
'Utilisation
Dim instance As ServerVersion
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
An String value that specifies the object in string format.