InstallSettingsExtensions.

SetStartMode(InstallSettings, string) Method

Summary

Specifies the start type for the service. The default setting is start= demand.
Assembly
Cake.Services.dll
Namespace
Cake.Services
Containing Type
InstallSettingsExtensions

Syntax

public static InstallSettings SetStartMode(this InstallSettings settings, string mode)

Parameters

Name Type Description
settings InstallSettings The process settings.
mode string The start type for the service

Return Value

Type Description
InstallSettings The same InstallSettings instance so that multiple calls can be chained.