ServiceManager RestartService Method (String)Bespoke Osc Library
Restart a service.

Namespace: Bespoke.Common
Assembly: Bespoke.Common (in Bespoke.Common.dll) Version: 5.0.0.0 (5.0.0.0)
Syntax

Public Shared Function RestartService ( _
	serviceName As String _
) As Boolean

Parameters

serviceName
Type: OnlineSystem String
The name of the service to restart.

Return Value

true if the service was successfully restarted; otherwise, false.
See Also