共用方式為


ReportViewer.ShowCredentialPrompts 屬性

指出是否將顯示使用者認證的提示。

命名空間: Microsoft.Reporting.WinForms
組件: Microsoft.ReportViewer.WinForms (在 microsoft.reportviewer.winforms.dll)

語法

'宣告
<CategoryAttribute("Appearance")> _
<DefaultValueAttribute(True)> _
<SRDescriptionAttribute("ShowCredentialPromptsDesc")> _
Public Property ShowCredentialPrompts As Boolean
'用途
Dim instance As ReportViewer
Dim value As Boolean

value = instance.ShowCredentialPrompts

instance.ShowCredentialPrompts = value
[CategoryAttribute("Appearance")] 
[DefaultValueAttribute(true)] 
[SRDescriptionAttribute("ShowCredentialPromptsDesc")] 
public bool ShowCredentialPrompts { get; set; }
[CategoryAttribute(L"Appearance")] 
[DefaultValueAttribute(true)] 
public:
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)

屬性值

Boolean 值。預設值是 true。

備註

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

另請參閱

參考

ReportViewer 類別
ReportViewer 成員
Microsoft.Reporting.WinForms 命名空間