Udostępnij za pośrednictwem


Właściwość ServerReport.Cookies —

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

Przestrzeń nazw:  Microsoft.Reporting.WebForms
Zestaw:  Microsoft.ReportViewer.WebForms (w Microsoft.ReportViewer.WebForms.dll)

Składnia

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

Wartość właściwości

Typ: Microsoft.Reporting.WebForms.ReportViewerCookieCollection
A ReportViewerCookieCollection object that contains a collection of Cookie objects.

Uwagi

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.

Zobacz też

Informacje

ServerReport Klasa

Przestrzeń nazw Microsoft.Reporting.WebForms