The GetOnlineCount Windows Management Instrumentation (WMI) class method, in Configuration Manager, that gets an online count of the selected clients of the target collection.

The following syntax is simplified from Managed Object Format (MOF) code and defines the method.

uint32 GetOnlineCount
{
	[IN]	String TargetCollectionID
	[IN]	Uint32 TargetResourceIDs[]
};

Parameters

TargetCollectionID

Data type: StringQualifiers: [id("0"), in]Target collection identifier.
TargetResourceIDs

Data type: UInt32 ArrayQualifiers: [id("1"), in]Target client resource identifiers.

Remarks

Requirements

Runtime Requirements

Development Requirements