次の方法で共有


ServerReport.Cookies プロパティ

 

発行: 2016年4月

Cookie オブジェクトのコレクションを取得します。ServerReport オブジェクトは、サーバー要求を行うときに、このコレクションにあるクッキーを使用します。

名前空間:   Microsoft.Reporting.WinForms
アセンブリ:  Microsoft.ReportViewer.WinForms (Microsoft.ReportViewer.WinForms.dll 内)

構文

[BrowsableAttribute(false)]
public ReportViewerCookieCollection Cookies { get; }
public:
[BrowsableAttribute(false)]
property ReportViewerCookieCollection^ Cookies {
    ReportViewerCookieCollection^ get();
}
[<BrowsableAttribute(false)>]
member Cookies : ReportViewerCookieCollection with get
<BrowsableAttribute(False)>
Public ReadOnly Property Cookies As ReportViewerCookieCollection

プロパティ値

Type: Microsoft.Reporting.WinForms.ReportViewerCookieCollection

Cookie オブジェクトのコレクションを含む ReportViewerCookieCollection オブジェクト。

解説

サーバー要求でカスタム認証クッキーを使用するため、このコレクション プロパティにカスタム認証クッキーを追加します。

HttpWebRequest の動作とは異なり、ServerReport オブジェクトが、サーバーによって返されたクッキーを使用してこのコレクションを更新することはありません。

参照

ServerReport クラス
Microsoft.Reporting.WinForms 名前空間

トップに戻る