ReportParameter.Prompt Property

Definition

Gets or sets the text that prompts the user to provide parameter values.

public:
 property System::String ^ Prompt { System::String ^ get(); void set(System::String ^ value); };
public string Prompt { get; set; }
member this.Prompt : string with get, set
Public Property Prompt As String

Property Value

A String value containing the text that prompts the user to provide parameter values.

Remarks

The default value for the Prompt property is retrieved from the report definition when a report is first published to the report server database with the CreateReport method. If the report definition specifies an empty string, the user will not be prompted for a password unless one is supplied via code or URL access..

Applies to