Partager via


Propriété ReportParameter.PromptUser

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

Espace de noms :  ReportExecution2005
Assembly :  ReportExecution2005 (en ReportExecution2005.dll)

Syntaxe

'Déclaration
Public Property PromptUser As Boolean 
    Get 
    Set
'Utilisation
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)

Valeur de propriété

Type : System.Boolean
A Boolean value.

Notes

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.

Voir aussi

Référence

ReportParameter Classe

Espace de noms ReportExecution2005