言語

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製品のバージョン番号を含みます。 このパラメーターは初期化されていない状態で渡されます。

実装

属性

適用対象