IServiceControlOperation

Declaration

IServiceControlOperation : IBaseServiceOperation

Overview

This interface is meant to edit service control operation properties.

Properties

Bool StartOnInstall - Gets or sets the start option after install.

Bool StopOnInstall - Gets or sets the stop option after install.

Bool DeleteOnInstall - Gets or sets the delete option after install. The service will be removed.

Bool StartOnUninstall - Gets or sets the start option after uninstal.

Bool StopOnUninstall - Gets or sets the stop option after uninstall.

Bool DeleteOnUninstall - Gets or sets the delete option after uninstall. The service will be removed.

String Arguments - Gets or sets the list of arguments separated by [~] which will be executed when the service starts.

Bool WaitUntilServiceCompletes - Gets or sets the property of the operation to wait a maximum of 30 seconds for the service to complete before continuing. This delay can be used to wait an additional amount of time in case a critical event returns a failure error.

See also

IBaseServiceOperation

IServices