次の方法で共有


ServiceInstaller.IsEquivalentInstaller メソッド

2 つのインストーラが同じサービスをインストールするかどうかを示します。

Overrides Public Function IsEquivalentInstaller( _
   ByVal otherInstaller As ComponentInstaller _) As Boolean
[C#]
public override bool IsEquivalentInstaller(ComponentInstallerotherInstaller);
[C++]
public: bool IsEquivalentInstaller(ComponentInstaller* otherInstaller);
[JScript]
public override function IsEquivalentInstaller(
   otherInstaller : ComponentInstaller) : Boolean;

パラメータ

戻り値

両方のインストーラで Install を呼び出すと、同じサービスがインストールされる場合は true 。それ以外の場合は false

解説

IsEquivalentInstaller は、たとえば、2 つのインストーラが同じユーザー アカウントで同じサービスをインストールするかどうかを示します。

必要条件

プラットフォーム: Windows NT Server 4.0, Windows NT Workstation 4.0, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 ファミリ

.NET Framework セキュリティ:

参照

ServiceInstaller クラス | ServiceInstaller メンバ | System.ServiceProcess 名前空間 | CopyFromComponent | ComponentInstaller