Udostępnij za pośrednictwem


ReportParameter.PromptUser Property

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

Namespace:  ReportExecution2005
Assembly:  ReportExecution2005 (in ReportExecution2005.dll)

Syntax

'Declaration
Public Property PromptUser As Boolean 
    Get 
    Set
'Usage
Dim instance As ReportParameter 
Dim value As Boolean 

value = instance.PromptUser

instance.PromptUser = value
public bool PromptUser { get; set; }
public:
property bool PromptUser {
    bool get ();
    void set (bool value);
}
member PromptUser : bool with get, set
function get PromptUser () : boolean 
function set PromptUser (value : boolean)

Property Value

Type: System.Boolean
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.

See Also

Reference

ReportParameter Class

ReportExecution2005 Namespace