Upraviť

Zdieľať cez


ManagedInstallerClass.IManagedInstaller.ManagedInstall(String, Int32) Method

Definition

For a description of this member, see ManagedInstall(String, Int32).

This API supports the product infrastructure and is not intended to be used directly from your code.

 virtual int System.Configuration.Install.IManagedInstaller.ManagedInstall(System::String ^ argString, int hInstall) = System::Configuration::Install::IManagedInstaller::ManagedInstall;
int IManagedInstaller.ManagedInstall (string argString, int hInstall);
abstract member System.Configuration.Install.IManagedInstaller.ManagedInstall : string * int -> int
override this.System.Configuration.Install.IManagedInstaller.ManagedInstall : string * int -> int
Function ManagedInstall (argString As String, hInstall As Integer) As Integer Implements IManagedInstaller.ManagedInstall

Parameters

argString
String

The command line to install.

hInstall
Int32

The handle to the installation.

Returns

The return code for installutil.exe. A successful installation returns 0. Other values indicate failure.

Implements

Remarks

This member is an explicit interface member implementation. It can be used only when the ManagedInstallerClass instance is cast to an IManagedInstaller interface.

Applies to