SCCM WebService API Reference

SCCMWebService..::..ExecuteImmediately Method

Executes an SMS advertisement immediately.

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

Syntax


[SoapHeaderAttribute]
[WebMethodAttribute]
public bool ExecuteImmediately(
	string Computername,
	string AdvertisementID
)
<SoapHeaderAttribute> _
<WebMethodAttribute> _
Public Function ExecuteImmediately ( _
	Computername As String, _
	AdvertisementID As String _
) As Boolean
[SoapHeaderAttribute]
[WebMethodAttribute]
public:
bool^ ExecuteImmediately(
	String^ Computername, 
	String^ AdvertisementID
)

Parameters

Computername
Type: String
The computername.
AdvertisementID
Type: String
The advertisement ID.

Return Value

0 if succeeded.