This documentation is archived and is not being maintained.

ServerReport.Cookies Property

Gets a collection of Cookie objects. The ServerReport object uses the cookies in this collection when making server requests.

Namespace: Microsoft.Reporting.WinForms
Assembly: Microsoft.ReportViewer.WinForms (in microsoft.reportviewer.winforms.dll)

public ReportViewerCookieCollection Cookies { get; }
/** @property */
public ReportViewerCookieCollection get_Cookies ()

public function get Cookies () : ReportViewerCookieCollection

Property Value

A ReportViewerCookieCollection object that contains a collection of Cookie objects.

To use custom authentication cookies in server requests, add the custom authentication cookies to this collection property.

Unlike the behavior of HttpWebRequest, the ServerReport object does not update this collection with the cookies return by the server.