ServiceInstaller.IsEquivalentInstaller(ComponentInstaller) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
指示两个安装程序是否会安装同一服务。
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 例如,指示两个安装程序是否会在同一用户帐户下安装同一服务。