IDTSApplication100.GetServerInfo(String, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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