SCCM WebService API Reference

SCCMWebService..::..ServiceStart Method

Starts the specified service.

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

Syntax


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

Parameters

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

Return Value

Result as String.