IManagedInstaller.ManagedInstall(String, Int32) Método

Definição

Executa uma instalação gerenciada.Executes a managed installation.

Esta API dá suporte à infraestrutura do produto e não deve ser usada diretamente do seu código.

public:
 int ManagedInstall(System::String ^ commandLine, int hInstall);
public int ManagedInstall (string commandLine, int hInstall);
abstract member ManagedInstall : string * int -> int
Public Function ManagedInstall (commandLine As String, hInstall As Integer) As Integer

Parâmetros

commandLine
String

A linha de comando que especifica a instalação.The command line that specifies the installation.

hInstall
Int32

O identificador para a instalação.The handle to the installation.

Retornos

Int32

O código de retorno de installutil.exe.The return code for installutil.exe. Uma instalação bem-sucedida retorna 0.A successful installation returns 0. Outros valores indicam falha.Other values indicate failure.

Aplica-se a