SCCM WebService API Reference

SCCMWebService..::..AddToStandardCollections Method

Adds a resource to all standard collections specified in table [SCCMManager].[dbo].[StandardSoftware].

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

Syntax


[SoapHeaderAttribute]
[WebMethodAttribute]
public bool AddToStandardCollections(
	int resourceID
)
<SoapHeaderAttribute> _
<WebMethodAttribute> _
Public Function AddToStandardCollections ( _
	resourceID As Integer _
) As Boolean
[SoapHeaderAttribute]
[WebMethodAttribute]
public:
bool^ AddToStandardCollections(
	int^ resourceID
)

Parameters

resourceID
Type: Int32
The resource identifier.

Return Value

true if successfull, otherwise false.

Exceptions


ExceptionCondition
ExceptionThe computer with ResourceID ' + resourceID + ' does not exist.
ExceptionThe computer with ResourceID ' + resourceID + ' does not exist.