共用方式為


ReportParameter.Prompt 屬性

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

命名空間:  ReportExecution2005
組件:  ReportExecution2005 (在 ReportExecution2005.dll 中)

語法

'宣告
Public Property Prompt As String 
    Get 
    Set
'用途
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)

屬性值

型別:System.String
A String value containing the text that prompts the user to provide parameter values.

備註

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..

請參閱

參考

ReportParameter 類別

ReportExecution2005 命名空間