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

Note
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
);

Parameters

collectionIDs

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

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.

Requirements

Runtime Requirements

Development Requirements

See Also