Partager via


IDTSApplication100.GetServerInfo(String, String) Method

Definition

Returns the SQL Server version number of the SQL Server product installed on the target server.

public:
 void GetServerInfo(System::String ^ bstrMachineName, [Runtime::InteropServices::Out] System::String ^ % serverVersion);
[System.Runtime.InteropServices.DispId(40)]
public void GetServerInfo (string bstrMachineName, out string serverVersion);
[<System.Runtime.InteropServices.DispId(40)>]
abstract member GetServerInfo : string * string -> unit
Public Sub GetServerInfo (bstrMachineName As String, ByRef serverVersion As String)

Parameters

bstrMachineName
String

The name of the server hardware to check for the SQL Server product version.

serverVersion
String

When this method returns, contains the version number of the SQL Server product. This parameter is passed uninitialized.

Attributes

Applies to