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.WebForms
Assembly: Microsoft.ReportViewer.WebForms (in microsoft.reportviewer.webforms.dll)

Syntax

'Declaration
<BrowsableAttribute(False)> _
<DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)> _
Public ReadOnly Property Cookies As ReportViewerCookieCollection
'Usage
Dim instance As ServerReport
Dim value As ReportViewerCookieCollection

value = instance.Cookies
[BrowsableAttribute(false)] 
[DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)] 
public ReportViewerCookieCollection Cookies { get; }
[BrowsableAttribute(false)] 
[DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility::Hidden)] 
public:
property ReportViewerCookieCollection^ Cookies {
    ReportViewerCookieCollection^ get ();
}
/** @property */
public ReportViewerCookieCollection get_Cookies ()
public function get Cookies () : ReportViewerCookieCollection

Property Value

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

Reference

ServerReport Class
ServerReport Members
Microsoft.Reporting.WebForms Namespace