共用方式為


IReportServerCredentials.NetworkCredentials 屬性

取得或設定用來驗證報表伺服器的網路認證。

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

語法

'宣告
ReadOnly Property NetworkCredentials As ICredentials
    Get
'用途
Dim instance As IReportServerCredentials
Dim value As ICredentials

value = instance.NetworkCredentials
ICredentials NetworkCredentials { get; }
property ICredentials^ NetworkCredentials {
    ICredentials^ get ();
}
abstract NetworkCredentials : ICredentials
function get NetworkCredentials () : ICredentials

屬性值

型別:System.Net.ICredentials
包含用來連接到報表伺服器之認證資訊的 System.Net.ICredentials 實作。

請參閱

參考

IReportServerCredentials 介面

Microsoft.Reporting.WebForms 命名空間