Share via


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)

Syntax

[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

Property Value

Type: Microsoft.Reporting.WinForms.ReportViewerCookieCollection

A ReportViewerCookieCollection object that contains a collection of Cookie objects.

Remarks

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.

See Also

ServerReport Class
Microsoft.Reporting.WinForms Namespace

Return to top