SCCM WebService API Reference

SCCMWebService..::..RemoveClientFromCollection Method

Removes a client from specified collection.

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

Syntax


[SoapHeaderAttribute]
[WebMethodAttribute]
public bool RemoveClientFromCollection(
	int resourceID,
	string collectionID,
	bool updateCollection
)
<SoapHeaderAttribute> _
<WebMethodAttribute> _
Public Function RemoveClientFromCollection ( _
	resourceID As Integer, _
	collectionID As String, _
	updateCollection As Boolean _
) As Boolean
[SoapHeaderAttribute]
[WebMethodAttribute]
public:
bool^ RemoveClientFromCollection(
	int^ resourceID, 
	String^ collectionID, 
	bool^ updateCollection
)

Parameters

resourceID
Type: Int32
The resource identifier.
collectionID
Type: String
The collection identifier.
updateCollection
Type: Boolean
if set to true update collection memberships.

Return Value

true if succeeded, otherwise false.