The GetClientsCountByCollections Windows Management Instrumentation (WMI) class method, in Configuration Manager, retrieves the number of clients in the specified collections.

This method is reserved for future use.

The following syntax is simplified from Managed Object Format (MOF) code and is intended to show the definition of the method.

SInt32 GetClientsCountByCollections(
	 String collectionIDs[],
	 UInt32 clientsCount



Data type: String arrayQualifiers: [in]The specified collection IDs.

Data type: UInt32Qualifiers: [out]The number of clients in the collections.

Return Values

An SInt32 data type that is 0 to indicate success or non-zero to indicate failure.

For more information about handling returned errors, see About Configuration Manager Errors.


Runtime Requirements

Development Requirements

See Also