This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see Cake.Topshelf.
Summary
Sets if the service with run with the local service account
- Assembly
- Cake
.Topshelf .dll - Namespace
- Cake
.Topshelf - Containing Type
- Topshelf
Settings Extensions
Syntax
public static TopshelfSettings UseLocalService(this TopshelfSettings settings, bool localService = true)
Parameters
| Name | Type | Description |
|---|---|---|
| settings | TopshelfSettings | The installation settings. |
| localService | bool | Run with the local service account |
Return Value
| Type | Description |
|---|---|
| TopshelfSettings | The same TopshelfSettings instance so that multiple calls can be chained. |
