语言

ServiceInstaller.IsEquivalentInstaller(ComponentInstaller) 方法

定义

指示两个安装程序是否会安装同一服务。

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

要比较当前安装程序的 A ComponentInstaller 。

返回

如果调用 这两个安装程序将导致安装相同的服务,则为 。

注解

IsEquivalentInstaller 例如,指示两个安装程序是否会在同一用户帐户下安装同一服务。

适用于

另请参阅