ServiceInstaller.IsEquivalentInstaller(ComponentInstaller) メソッド

定義

2 つのインストーラーが同じサービスをインストールするかどうかを示します。

public:
 override bool IsEquivalentInstaller(System::Configuration::Install::ComponentInstaller ^ otherInstaller);
public override bool IsEquivalentInstaller(System.Configuration.Install.ComponentInstaller otherInstaller);
override this.IsEquivalentInstaller : System.Configuration.Install.ComponentInstaller -> bool
Public Overrides Function IsEquivalentInstaller (otherInstaller As ComponentInstaller) As Boolean

パラメーター

otherInstaller
ComponentInstaller

現在のインストーラーを比較する ComponentInstaller

返品

true 両方のインストーラーで Install(IDictionary) を呼び出すと、同じサービスがインストールされる場合は ゠、それ以外の場合は false

注釈

IsEquivalentInstaller は、たとえば、2 つのインストーラーが同じユーザー アカウントに同じサービスをインストールするかどうかを示します。

適用対象

こちらもご覧ください