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
Starts a named service
Syntax
public static bool StartService(this ICakeContext context, string name, string computer, int timeout, string[] args)
Attributes
Type |
Description |
CakeMethodAliasAttribute |
|
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. |
timeout |
int |
The duration to wait for the command to complete. |
args |
string[] |
The arguments to pass to the service when starting |
Return Value
Type |
Description |
bool |
If the service was started. |