SCCM WebService API Reference

SCCMWebService..::..GetCollectionRuleDirect Method

Gets the collection members from specified collection.

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

Syntax


[SoapHeaderAttribute]
[WebMethodAttribute]
public DataSet GetCollectionRuleDirect(
	string collectionID
)
<SoapHeaderAttribute> _
<WebMethodAttribute> _
Public Function GetCollectionRuleDirect ( _
	collectionID As String _
) As DataSet
[SoapHeaderAttribute]
[WebMethodAttribute]
public:
DataSet^ GetCollectionRuleDirect(
	String^ collectionID
)

Parameters

collectionID
Type: String
The collection identifier.

Return Value

DataSet: CollectionID, CollectionName, MachineID, MachineName