3.2.4.16.1 Count (Get) (Opnum 7)

The Count (Get) method retrieves the Count property.

 [propget, id(1)] HRESULT Count(
   [out, retval] LONG* retVal
 );

retVal: Receives the number of data collector sets in the collection.

Return Values: This method MUST return an HRESULT with the severity bit clear on success as specified in [MS-ERREF]; otherwise, it MUST return one of the errors as defined in 2.2.1 or one of the errors as defined in [MS-ERREF] section 2.1.