IServiceControlOperationCopy link to this sectionLink to this section copied!

DeclarationCopy link to this sectionLink to this section copied!

IServiceControlOperation : IBaseServiceOperation

OverviewCopy link to this sectionLink to this section copied!

This interface is meant to edit service control operation properties.

PropertiesCopy link to this sectionLink to this section copied!

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.