SCCM WebService API Reference

SCCMWebService..::..ServiceStop Method

Stops the specified service.

Namespace:  SCCMWebService
Assembly:  SCCMWebService (in SCCMWebService.dll)

Syntax


[SoapHeaderAttribute]
[WebMethodAttribute]
public string ServiceStop(
	string computerName,
	string serviceName
)
<SoapHeaderAttribute> _
<WebMethodAttribute> _
Public Function ServiceStop ( _
	computerName As String, _
	serviceName As String _
) As String
[SoapHeaderAttribute]
[WebMethodAttribute]
public:
String^ ServiceStop(
	String^ computerName, 
	String^ serviceName
)

Parameters

computerName
Type: String
Name of the computer.
serviceName
Type: String
Name of the service.

Return Value

Result as String.