SCCM WebService API Reference

SCCMWebService..::..AddClientToCollections Method

Adds the specified resource to multiple collections.

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

Syntax


[SoapHeaderAttribute]
[WebMethodAttribute]
public bool AddClientToCollections(
	int resourceID,
	string[] collectionIDs
)
<SoapHeaderAttribute> _
<WebMethodAttribute> _
Public Function AddClientToCollections ( _
	resourceID As Integer, _
	collectionIDs As String() _
) As Boolean
[SoapHeaderAttribute]
[WebMethodAttribute]
public:
bool^ AddClientToCollections(
	int^ resourceID, 
	array<String^>^ collectionIDs
)

Parameters

resourceID
Type: Int32
The resource identifier.
collectionIDs
Type: array<String>[]()[][]
The collections.

Return Value

true if successfull, otherwise false.