Share via


ApplicationClass.GetServerInfo(String, String) メソッド

定義

ターゲット サーバーにインストールされた SQL Server 製品の SQL Server バージョン番号を返します。

public:
 virtual void GetServerInfo(System::String ^ bstrMachineName, [Runtime::InteropServices::Out] System::String ^ % serverVersion) = Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSApplication130::GetServerInfo;
public:
 virtual void GetServerInfo(System::String ^ bstrMachineName, [Runtime::InteropServices::Out] System::String ^ % serverVersion) = Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSApplication150::GetServerInfo;
[System.Runtime.InteropServices.DispId(40)]
public virtual void GetServerInfo (string bstrMachineName, out string serverVersion);
[<System.Runtime.InteropServices.DispId(40)>]
abstract member GetServerInfo : string * string -> unit
override this.GetServerInfo : string * string -> unit
Public Overridable Sub GetServerInfo (bstrMachineName As String, ByRef serverVersion As String)

パラメーター

bstrMachineName
String

SQL Server の製品バージョンを確認するサーバー ハードウェアの名前です。

serverVersion
String

このメソッドが戻るとき、SQL Server 製品のバージョン番号が含まれています。 このパラメーターは初期化せずに渡されます。

実装

属性

適用対象