SCCM WebService API Reference

SCCMWebService..::..GetCollectionsByResourceID Method

Gets all collections by the specified resource identifier. This view includes only approved collections.

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

Syntax


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

Parameters

resourceID
Type: Int32
The resource identifier.

Return Value

DataSet: ResourceID, ComputerName, CollectionID, CollectionName