ServiceInstallerDialog.Result Propriedade
Definição
Obtém o resultado da caixa de diálogo para o formulário de conta de serviço.Gets the dialog result for the service account form.
public:
property System::ServiceProcess::Design::ServiceInstallerDialogResult Result { System::ServiceProcess::Design::ServiceInstallerDialogResult get(); };
public System.ServiceProcess.Design.ServiceInstallerDialogResult Result { get; }
member this.Result : System.ServiceProcess.Design.ServiceInstallerDialogResult
Public ReadOnly Property Result As ServiceInstallerDialogResult
Valor da propriedade
Um ServiceInstallerDialogResult que indica a resposta do usuário para a caixa de diálogo.A ServiceInstallerDialogResult indicating the user response to the dialog box. O padrão é OK.The default is OK.
Comentários
Use ShowDialog para solicitar ao usuário a conta de instalação do serviço e, em seguida, verifique o Result valor.Use ShowDialog to prompt the user for the service installation account, then check the Result value. Se o valor for OK , verifique se a entrada Username e Password é válida.If the value is OK, verify that the input Username and Password are valid.