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。

请参阅

参考

ServerReport 类

Microsoft.Reporting.WebForms 命名空间