Partilhar via


Método ToString

Returns the object as a string value.

Namespace:  Microsoft.SqlServer.Management.Common
Assembly:  Microsoft.SqlServer.ConnectionInfo (em Microsoft.SqlServer.ConnectionInfo.dll)

Sintaxe

'Declaração
Public Overrides Function ToString As String
'Uso
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

Valor de retorno

Tipo: System. . :: . .String
A String value that specifies the ConnectionInfoBase object.