Språk

ServiceInstaller.IsEquivalentInstaller(ComponentInstaller) Metod

Definition

Anger om två installationsprogram skulle installera samma tjänst.

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

Parametrar

otherInstaller
ComponentInstaller

A ComponentInstaller som du jämför det aktuella installationsprogrammet med.

Returer

true om anrop på Install(IDictionary) båda dessa installationsprogram skulle resultera i att samma tjänst installeras, falseannars .

Kommentarer

IsEquivalentInstaller anger till exempel om två installationsprogram skulle installera samma tjänst under samma användarkonto.

Gäller för

Se även