Compartilhar via


Propriedade do RDL ReportParameter.PromptUser

Gets or sets a value that indicates whether the user is prompted for the value of the parameter.

Namespace:  ReportService2006
Assembly:  ReportService2006 (em ReportService2006.dll)

Sintaxe

'Declaração
Public Property PromptUser As Boolean 
    Get 
    Set
'Uso
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)

Valor da propriedade

Tipo: System.Boolean
true if the user is prompted for the value of the parameter; otherwise, false. The default is false.

Comentários

If this property is set to false, trying to supply a parameter value will return an error.

The value for the PromptUser property has a corresponding PromptUserSpecified property that indicates whether this property should be omitted from the Web service call.

For more information about omitting properties, see Omitindo valores para objetos de serviço Web opcionais.

Consulte também

Referência

ReportParameter Classe

Namespace ReportService2006