SCCM WebService API Reference

SCCMWebService..::..GetAdvertisementInfo Method (Int32)

Gets the advertisement info from specified resource.

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

Syntax


[SoapHeaderAttribute]
[WebMethodAttribute]
public DataSet GetAdvertisementInfo(
	int resourceID
)
<SoapHeaderAttribute> _
<WebMethodAttribute> _
Public Function GetAdvertisementInfo ( _
	resourceID As Integer _
) As DataSet
[SoapHeaderAttribute]
[WebMethodAttribute]
public:
DataSet^ GetAdvertisementInfo(
	int^ resourceID
)

Parameters

resourceID
Type: Int32
The resource ID.

Return Value

DataSet: AdvertisementID, AdvertisementName, PackageID, ProgramName, CollectionID, PackageName, PackageVersion, PackageLanguage, PackageManufacturer, CollectionName