次の方法で共有


IReportServerConnection インターフェイス

ReportViewer Web フォーム コントロールをセッション状態なしで使用するときに、レポート サーバーの接続情報を提供します。

名前空間: Microsoft.Reporting.WebForms
アセンブリ: Microsoft.ReportViewer.WebForms (microsoft.reportviewer.webforms.dll 内)

構文

'宣言
Public Interface IReportServerConnection
    Inherits IReportServerCredentials
'使用
Dim instance As IReportServerConnection
public interface IReportServerConnection : IReportServerCredentials
public interface class IReportServerConnection : IReportServerCredentials
public interface IReportServerConnection extends IReportServerCredentials
public interface IReportServerConnection extends IReportServerCredentials

解説

このインターフェイスを実装すると、セッション状態なしで ReportViewer Web フォーム コントロールを使用するときに接続情報を提供できます。ReportViewer コントロールのセッション状態の使用状況は、Web.config 設定ファイルで構成します。

参照

リファレンス

IReportServerConnection メンバ
Microsoft.Reporting.WebForms 名前空間

その他のリソース

Web.config Settings for ReportViewer