Compartir vía


ServiceInstaller.IsEquivalentInstaller(ComponentInstaller) Método

Definición

Indica si dos instaladores pueden instalar el mismo servicio.

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

Parámetros

otherInstaller
ComponentInstaller

ComponentInstaller con el que se está comparando el instalador actual.

Devoluciones

Boolean

true si la llamada a Install(IDictionary) en los dos instaladores tendría como resultado la instalación del mismo servicio; de lo contrario, es false.

Comentarios

IsEquivalentInstaller indica, por ejemplo, si dos instaladores instalarían el mismo servicio en la misma cuenta de usuario.

Se aplica a

Consulte también