Share via


ReportViewer.ShowCredentialPrompts 屬性

取得或設定指出是否要顯示使用者認證之提示的值。

命名空間:  Microsoft.Reporting.WebForms
組件:  Microsoft.ReportViewer.WebForms (在 Microsoft.ReportViewer.WebForms.dll 中)

語法

'宣告
<WebBrowsableAttribute(True)> _
Public Property ShowCredentialPrompts As Boolean
[WebBrowsableAttribute(true)]
public bool ShowCredentialPrompts { get; set; }
[WebBrowsableAttribute(true)]
public:
property bool ShowCredentialPrompts {
    bool get ();
    void set (bool value);
}
[<WebBrowsableAttribute(true)>]
member ShowCredentialPrompts : bool with get, set
function get ShowCredentialPrompts () : boolean
function set ShowCredentialPrompts (value : boolean)

屬性值

類型:Boolean
如果要對使用者顯示認證的提示,則為 true,否則為 false。預設為 true。

備註

ProcessingMode 設為 Local 時,會忽略這個屬性。

請參閱

參考

ReportViewer 類別

Microsoft.Reporting.WebForms 命名空間