PingSqlServerVersion 메서드 (String)
Gets the version number of the instance of SQL Server.
네임스페이스: Microsoft.SqlServer.Management.Smo
어셈블리: Microsoft.SqlServer.Smo.dll의 Microsoft.SqlServer.Smo
구문
‘선언
Public Function PingSqlServerVersion ( _
serverName As String _
) As ServerVersion
‘사용 방법
Dim instance As Server
Dim serverName As String
Dim returnValue As ServerVersion
returnValue = instance.PingSqlServerVersion(serverName)
public ServerVersion PingSqlServerVersion(
string serverName
)
public:
ServerVersion^ PingSqlServerVersion(
String^ serverName
)
member PingSqlServerVersion :
serverName:string -> ServerVersion
public function PingSqlServerVersion(
serverName : String
) : ServerVersion
매개 변수
- serverName
형식: System. . :: . .String
A String value that specifies the name of the instance of SQL Server.
반환 값
형식: Microsoft.SqlServer.Management.Common. . :: . .ServerVersion
A ServerVersion object value that specifies the version of the instance of SQL Server.