Επεξεργασία

Κοινή χρήση μέσω


ServiceInstaller.IsEquivalentInstaller(ComponentInstaller) Method

Definition

Indicates whether two installers would install the same 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

Parameters

otherInstaller
ComponentInstaller

A ComponentInstaller to which you are comparing the current installer.

Returns

true if calling Install(IDictionary) on both of these installers would result in installing the same service; otherwise, false.

Remarks

IsEquivalentInstaller indicates, for example, whether two installers would install the same service under the same user account.

Applies to

See also