ServiceAliases.

InstallService(ICakeContext, string, InstallSettings) Method

Summary

Installs a service on a computer
Assembly
Cake.Services.dll
Namespace
Cake.Services
Containing Type
ServiceAliases

Syntax

public static void InstallService(this ICakeContext context, string computer, InstallSettings settings)

Attributes

Type Description
CakeMethodAliasAttribute
CakeNamespaceImportAttribute
CakeNamespaceImportAttribute

Parameters

Name Type Description
context ICakeContext The cake context.
computer string The computer on which the service resides.
settings InstallSettings The settings to use when installing the service.

Return Value

Type Description
void If the service was installed.