IServiceManager.

GetServices(string) Method

Summary

Gets a list of System.ServiceProcess.ServiceController on the specified computer.
Assembly
Cake.Services.dll
Namespace
Cake.Services
Containing Type
IServiceManager

Syntax

List<ServiceController> GetServices(string computer = "")

Parameters

Name Type Description
computer string The computer on which the service resides.

Return Value

Type Description
List<ServiceController> A list of System.ServiceProcess.ServiceController on the specified computer.