The SMS_ReportParameter Windows Management Instrumentation (WMI) class is an SMS Provider server class, in Configuration Manager, that represents a user-supplied parameter that is required to run the report.

The following syntax is simplified from Managed Object Format (MOF) code and includes all inherited properties.

Class SMS_ReportParameter
{
	Boolean AllowEmpty;
	String DefaultValue;
	String PromptText;
	String SampleValueSQL;
	String VariableName;
};

Methods

The SMS_ReportParameter class does not define any methods.

Properties

AllowEmpty


Data type: BooleanAccess type: Read/WriteQualifiers: Nonetrue if the report parameter can be unspecified by the user. The value of the DefaultValue property is used instead.
DefaultValue


Data type: StringAccess type: Read/WriteQualifiers: NoneValue to use if the report parameter is unspecified by the user. Set this property to null to use SQL NULL as a default. This property is only applicable if AllowEmpty is set to true.
PromptText


Data type: StringAccess type: Read/WriteQualifiers: NoneText displayed to the user to request the report parameter value.
SampleValueSQL


Data type: StringAccess type: Read/WriteQualifiers: NoneText of the SQL query that populates a list of sample values for the parameter.
VariableName


Data type: StringAccess type: Read/WriteQualifiers: NoneName of the report parameter as it appears in the SQL statement.

Remarks

Class qualifiers for this class include:

  • Embedded

For more information about both the class qualifiers and the property qualifiers included in the Properties section, see Configuration Manager Class and Property Qualifiers.

This class is an embedded class used only as a member of SMS_Report Server WMI Class.

The user-supplied parameter provided to this class is substituted for a variable in an SQL query for the report. Usually this is a value in a WHERE clause.

Requirements

Runtime Requirements

Development Requirements

See Also


Send comments about this topic to Microsoft.