Click or drag to resize

ServiceOperationStopService Method

Stops a service

Namespace:  Xcalibur.WMI.Services
Assembly:  Xcalibur.WMI (in Xcalibur.WMI.dll) Version: 3.0.0.0 (3.0.1.0)
Syntax
public static void StopService(
	ManagementScope managementScope,
	string serviceName
)

Parameters

managementScope
Type: System.ManagementManagementScope
The management scope.
serviceName
Type: SystemString
Name of the service.
See Also