SCCM WebService API Reference

SCCMWebService..::..SetCollectionRules Method

Sets the collection rules.

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

Syntax


[SoapHeaderAttribute]
[WebMethodAttribute]
public bool SetCollectionRules(
	string collectionID,
	DataSet rules
)
<SoapHeaderAttribute> _
<WebMethodAttribute> _
Public Function SetCollectionRules ( _
	collectionID As String, _
	rules As DataSet _
) As Boolean
[SoapHeaderAttribute]
[WebMethodAttribute]
public:
bool^ SetCollectionRules(
	String^ collectionID, 
	DataSet^ rules
)

Parameters

collectionID
Type: String
The collection identifier.
rules
Type: DataSet
The rules.

Return Value

true if successfull, false otherwise.