ServiceAliases.

UninstallService(ICakeContext, string, string) Method

Summary

Uninstalls a service from a computer
Assembly
Cake.Services.dll
Namespace
Cake.Services
Containing Type
ServiceAliases

Syntax

public static void UninstallService(this ICakeContext context, string name, string computer)

Attributes

Type Description
CakeMethodAliasAttribute
CakeNamespaceImportAttribute
CakeNamespaceImportAttribute

Parameters

Name Type Description
context ICakeContext The cake context.
name string The name that identifies the service to the system.
computer string The computer on which the service resides.

Return Value

Type Description
void If the service was uninstalled.