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
ComponentInstaller你比較現有安裝商的A。
傳回
true如果呼叫Install(IDictionary)這兩個安裝程式會安裝相同的服務;否則, false
備註
IsEquivalentInstaller 例如,會顯示兩個安裝程式是否會在相同使用者帳號下安裝相同的服務。