Compartilhar via


Método ToString

Returns a String that represents the ServerMessageEventArgs object.

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 ServerMessageEventArgs
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 that represents the ServerMessageEventArgs object.