共用方式為


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
管理伺服器