ToString 方法
Returns a String that represents the ServerMessageEventArgs object.
命名空間: Microsoft.SqlServer.Management.Common
組件: Microsoft.SqlServer.ConnectionInfo (在 Microsoft.SqlServer.ConnectionInfo.dll 中)
語法
'宣告
Public Overrides Function ToString As String
'用途
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
傳回值
型別:System. . :: . .String
A String that represents the ServerMessageEventArgs object.