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 命名空间