共用方式為


ServerReport.ReportServerCredentials 屬性

取得或設定要搭配報表伺服器來使用的認證。

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

語法

'宣告
<DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)> _
<BrowsableAttribute(False)> _
Public ReadOnly Property ReportServerCredentials As ReportServerCredentials
'用途
Dim instance As ServerReport
Dim value As ReportServerCredentials

value = instance.ReportServerCredentials
[DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)] 
[BrowsableAttribute(false)] 
public ReportServerCredentials ReportServerCredentials { get; }
[DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility::Hidden)] 
[BrowsableAttribute(false)] 
public:
ReportServerCredentials^ ReportServerCredentials {
    ReportServerCredentials^ get ();
}
/** @property */
public ReportServerCredentials get_ReportServerCredentials ()
public function get ReportServerCredentials () : ReportServerCredentials

屬性值

包含要搭配報表伺服器來使用之認證的 ReportServerCredentials 物件。

範例

如需範例,請參閱 ReportServerCredentials。

另請參閱

參考

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