Поделиться через


ReportViewer.ShowCredentialPrompts Property

Gets or sets a value that indicates whether to display a prompt for user credentials.

Namespace: Microsoft.Reporting.WebForms
Assembly: Microsoft.ReportViewer.WebForms (in microsoft.reportviewer.webforms.dll)

Syntax

'Declaration
<DefaultValueAttribute(True)> _
<WebBrowsableAttribute(True)> _
<CategoryAttribute("Appearance")> _
Public Property ShowCredentialPrompts As Boolean
'Usage
Dim instance As ReportViewer
Dim value As Boolean

value = instance.ShowCredentialPrompts

instance.ShowCredentialPrompts = value
[DefaultValueAttribute(true)] 
[WebBrowsableAttribute(true)] 
[CategoryAttribute("Appearance")] 
public bool ShowCredentialPrompts { get; set; }
[DefaultValueAttribute(true)] 
[WebBrowsableAttribute(true)] 
[CategoryAttribute(L"Appearance")] 
public:
property bool ShowCredentialPrompts {
    bool get ();
    void set (bool value);
}
/** @property */
public boolean get_ShowCredentialPrompts ()

/** @property */
public void set_ShowCredentialPrompts (boolean value)
public function get ShowCredentialPrompts () : boolean

public function set ShowCredentialPrompts (value : boolean)

Property Value

true if a prompt for credentials is shown to the user; otherwise, false. The default is true.

Remarks

This property is ignored when ProcessingMode is set to Local.

See Also

Reference

ReportViewer Class
ReportViewer Members
Microsoft.Reporting.WebForms Namespace