共用方式為


ReportParameter.PromptUser 屬性

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

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

語法

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

屬性值

型別:System.Boolean
A Boolean value.

備註

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.

請參閱

參考

ReportParameter 類別

ReportExecution2005 命名空間