The GetSampleValues Windows Management Instrumentation (WMI) class method, in Configuration Manager, gets sample values for a report view schema.

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

UInt32 GetSampleValues(
   UInt32 RangeBegin,
   UInt32 RangeEnd,
   String Filter,
   UInt32 TotalValuesAvailable,
   String Values[]
);

Parameters

RangeBegin

Data type: UInt32Qualifiers: [in]Value indicating the beginning of the range of sample values.
RangeEnd

Data type: UInt32Qualifiers: [in]Value indicating the end of the range of sample values.
Filter

Data type: StringQualifiers: [in]Filter to use for retrieval of sample values.
TotalValuesAvailable

Data type: UInt32Qualifiers: [out]The number of sample values retrieved in the Values parameter.
Values

Data type: String ArrayQualifiers: [out]The retrieved sample values.

Return Values

A UInt32 data type.

Requirements

Runtime Requirements

Development Requirements

See Also