SCCM WebService API Reference

SCCMWebService..::..StartProcess Method

Starts a process.

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

Syntax


[SoapHeaderAttribute]
[WebMethodAttribute]
public bool StartProcess(
	string computerName,
	string process,
	string arguments
)
<SoapHeaderAttribute> _
<WebMethodAttribute> _
Public Function StartProcess ( _
	computerName As String, _
	process As String, _
	arguments As String _
) As Boolean
[SoapHeaderAttribute]
[WebMethodAttribute]
public:
bool^ StartProcess(
	String^ computerName, 
	String^ process, 
	String^ arguments
)

Parameters

computerName
Type: String
Name of the computer.
process
Type: String
The process.
arguments
Type: String
The arguments.

Return Value

true if successull, false otherwise.

Exceptions


ExceptionCondition
ExceptionComputer name must not be empty! or Unable to get DNS host name for computer + computerName + ! or Unable to restart computer + computerName + because host is unreachable!