SCCM WebService API Reference

SCCMWebService..::..GetInstallCollectionsByResourceID Method

Gets all install collection rule direct from [SCCMManager].[dbo].[v_InstallCollectionRuleDirect]. This view includes only approved collections created with SCCM Package Builder.

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

Syntax


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

Parameters

resourceID
Type: Int32
The resource identifier.

Return Value

DataSet: ResourceID, ComputerName, CollectionID, FriendlyName, CollectionName