ServerReport.ReportServerCredentials 屬性
取得或設定要搭配報表伺服器來使用的認證。
命名空間: Microsoft.Reporting.WebForms
組件: Microsoft.ReportViewer.WebForms (在 Microsoft.ReportViewer.WebForms.dll 中)
語法
'宣告
<BrowsableAttribute(False)> _
Public Property ReportServerCredentials As IReportServerCredentials
Get
Set
'用途
Dim instance As ServerReport
Dim value As IReportServerCredentials
value = instance.ReportServerCredentials
instance.ReportServerCredentials = value
[BrowsableAttribute(false)]
public IReportServerCredentials ReportServerCredentials { get; set; }
[BrowsableAttribute(false)]
public:
property IReportServerCredentials^ ReportServerCredentials {
IReportServerCredentials^ get ();
void set (IReportServerCredentials^ value);
}
[<BrowsableAttribute(false)>]
member ReportServerCredentials : IReportServerCredentials with get, set
function get ReportServerCredentials () : IReportServerCredentials
function set ReportServerCredentials (value : IReportServerCredentials)
屬性值
型別:Microsoft.Reporting.WebForms.IReportServerCredentials
包含要搭配報表伺服器來使用之認證的 ReportServerCredentials 物件。
範例
如需詳細資訊和程式碼範例,請參閱 ReportServerCredentials。