次の方法で共有


ServerReport.Cookies プロパティ

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

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

構文

'宣言
<BrowsableAttribute(False)> _
Public ReadOnly Property Cookies As ReportViewerCookieCollection
    Get
'使用
Dim instance As ServerReport
Dim value As ReportViewerCookieCollection

value = instance.Cookies
[BrowsableAttribute(false)]
public ReportViewerCookieCollection Cookies { get; }
[BrowsableAttribute(false)]
public:
property ReportViewerCookieCollection^ Cookies {
    ReportViewerCookieCollection^ get ();
}
[<BrowsableAttribute(false)>]
member Cookies : ReportViewerCookieCollection
function get Cookies () : ReportViewerCookieCollection

プロパティ値

型: Microsoft.Reporting.WinForms.ReportViewerCookieCollection
Cookie オブジェクトのコレクションを含む ReportViewerCookieCollection オブジェクト。

説明

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

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

関連項目

参照

ServerReport クラス

Microsoft.Reporting.WinForms 名前空間