ServiceInstaller.IsEquivalentInstaller(ComponentInstaller) Método

Definição

Indica se dois instaladores iriam instalar o mesmo serviço.

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

A ComponentInstaller com o qual estás a comparar o instalador atual.

Devoluções

true se recorrer Install(IDictionary) a ambos os instaladores resultar na instalação do mesmo serviço; caso contrário, false.

Observações

IsEquivalentInstaller indica, por exemplo, se dois instaladores iriam instalar o mesmo serviço sob a mesma conta de utilizador.

Aplica-se a

Ver também