Condividi tramite


Metodo ToString

Returns the referenced object name as a string.

Spazio dei nomi  Microsoft.SqlServer.Management.Common
Assembly:  Microsoft.SqlServer.ConnectionInfo (in Microsoft.SqlServer.ConnectionInfo.dll)

Sintassi

'Dichiarazione
Public Overrides Function ToString As String
'Utilizzo
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

Valore restituito

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