3.2.4.1.53 Query (Opnum 59)

The Query method overwrites the properties of the data collector set object with the properties of another data collector set specified by the parameter 'name'. The properties of the data collector set 'name' are loaded from a file on the disk. The parameter 'name' is the name of the data collector set, not the name or path to the file containing its properties.

 HRESULT Query(
   [in] BSTR name,
   [in, unique] BSTR server
 );

name: Supplies the name of the data collector set to retrieve. The name is not case sensitive.

server: Not used.

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.