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.Services.
Summary
Gets a list of System.ServiceProcess.ServiceController
on the specified computer.
Syntax
public static List<ServiceController> GetServices(this ICakeContext context, string computer)
Attributes
Type |
Description |
CakeMethodAliasAttribute |
|
CakeNamespaceImportAttribute |
|
Parameters
Name |
Type |
Description |
context |
ICakeContext |
The cake context. |
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. |