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
<WebBrowsableAttribute(True)> _
<CategoryAttribute("Appearance")> _
<DefaultValueAttribute(True)> _
Public Property ShowCredentialPrompts As Boolean
'Usage
Dim instance As ReportViewer
Dim value As Boolean
value = instance.ShowCredentialPrompts
instance.ShowCredentialPrompts = value
[WebBrowsableAttribute(true)]
[CategoryAttribute("Appearance")]
[DefaultValueAttribute(true)]
public bool ShowCredentialPrompts { get; set; }
[WebBrowsableAttribute(true)]
[CategoryAttribute(L"Appearance")]
[DefaultValueAttribute(true)]
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