ServerVersion.ToString 方法
Returns the object in string format.
命名空间: Microsoft.SqlServer.Management.Common
程序集: Microsoft.SqlServer.ConnectionInfo(在 Microsoft.SqlServer.ConnectionInfo.dll 中)
语法
声明
Public Overrides Function ToString As String
用法
Dim instance As ServerVersion
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
An String value that specifies the object in string format.