SCCM WebService API Reference

SCCMWebService..::..RerunPackage Method

Reruns a sccm advertisement immediately.

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

Syntax


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

Parameters

computerName
Type: String
The computername.
advertisementID
Type: String
The advertisement ID.

Return Value

0 if succeeded.