ServiceInstaller.IsEquivalentInstaller(ComponentInstaller) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Indique si deux programmes d’installation installeraient le même service.
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
Paramètres
- otherInstaller
- ComponentInstaller
Auquel ComponentInstaller vous comparez le programme d’installation actuel.
Retours
true si l’appel Install(IDictionary) sur ces deux programmes d’installation entraîne l’installation du même service ; sinon, false.
Remarques
IsEquivalentInstaller indique, par exemple, si deux programmes d’installation installeraient le même service sous le même compte d’utilisateur.