Indicates how and when this service is started.
Assembly: System.ServiceProcess (in System.ServiceProcess.dll)
[<ServiceProcessDescriptionAttribute("ServiceInstallerStartType")>] member StartType : ServiceStartMode with get, set
Set the to specify either that the service be started automatically after reboot or that a user must manually start the service. A service can also be disabled, specifying that it cannot be started, either manually or programmatically, until it is enabled.
You cannot change ServiceInstaller property values after installation. To change the , you either have to uninstall and reinstall your service, or manually change the setting using the Service Control Manager.
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.