Server.PingSqlServerVersion Method

Gets the version number of the instance of Microsoft SQL Server.

备注

仅 Microsoft .NET Framework 的 2.0 版本支持此命名空间、类或成员。

重载列表

名称 Description
Server.PingSqlServerVersion (String)
Gets the version number of the instance of Microsoft SQL Server.
Server.PingSqlServerVersion (String, String, String)
Get the version number of the specified instance of Microsoft SQL Server using the specified login and password to gain access.

请参阅

参考

Server Class
Server Members
Microsoft.SqlServer.Management.Smo Namespace

其他资源

How to: Use an SMO Method with a Parameter in Visual Basic .NET
Calling Methods
管理服务器