ServiceInstaller.IsEquivalentInstaller(ComponentInstaller) Metoda

Definice

Určuje, jestli by dva instalační programy nainstalovaly stejnou službu.

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

Parametry

otherInstaller
ComponentInstaller

A ComponentInstaller , ke kterému porovnáváte aktuální instalační program.

Návraty

truepokud by volání Install(IDictionary) obou těchto instalačních programů vedlo k instalaci stejné služby, jinak . false

Poznámky

IsEquivalentInstaller označuje například, zda by dva instalační programy nainstalovaly stejnou službu pod stejným uživatelským účtem.

Platí pro

Viz také