ToString 方法

Returns a String that represents the referenced object.

命名空间:  Microsoft.SqlServer.Management.Smo
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
Public Overrides Function ToString As String
用法
Dim instance As SqlSmoObject
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 value that represents the SqlSmoObject object.

示例

调用方法