Dela via


ReportParameter.Prompt Property

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

Namespace:  ReportService2006
Assembly:  ReportService2006 (in ReportService2006.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 that contains 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 will be treated as a hidden parameter, 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.