ServiceManager.

CanPauseAndContinue(string, string) Method

Summary

Checks if the named service can be paused and continued
Assembly
Cake.Services.dll
Namespace
Cake.Services
Containing Type
ServiceManager

Syntax

public bool CanPauseAndContinue(string name, string computer = "")

Parameters

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

Return Value

Type Description
bool If the service can be paused and continued.