共用方式為


ReportParameter.PromptUser Property

Definition

Indicates whether the user is prompted for the value of the parameter.

public:
 property bool PromptUser { bool get(); void set(bool value); };
public bool PromptUser { get; set; }
member this.PromptUser : bool with get, set
Public Property PromptUser As Boolean

Property Value

A Boolean value.

Remarks

Report parameters that contain a value of false for the PromptUser property cannot be submitted as input arguments to the Render method and cannot be used in URL access. If you submit a value for the parameter in this case an error is returned.

The value for the PromptUser property can be omitted. To omit this property, set the PromptUserSpecified property to false. If you set a value for the PromptUser property, you must also set the PromptUserSpecified property to true.

Applies to