Share via


ReportParameter.Prompt Property

Gets or sets the text that prompts the user for parameter values.

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

Syntax

'Declaration
Public Property Prompt As String
    Get
    Set
'Usage
Dim instance As ReportParameter
Dim value As String

value = instance.Prompt

instance.Prompt = value
public string Prompt { get; set; }
public:
property String^ Prompt {
    String^ get ();
    void set (String^ value);
}
member Prompt : string with get, set
function get Prompt () : String
function set Prompt (value : String)

Property Value

Type: System.String
A String value containing the text that prompts the user for parameter values.

Remarks

If the PromptUser property is true and the Prompt property has no value, the parameter is considered hidden, and the user will not be prompted for a parameter value for interactive rendering or for configuring standard subscriptions. A hidden parameter can be specified even though it is not shown to the user.