Partilhar via


Propriedade ServerReport.Cookies

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 (em Microsoft.ReportViewer.WebForms.dll)

Sintaxe

'Declaração
<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

Valor de propriedade

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

Comentários

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.

Consulte também

Referência

ServerReport Classe

Namespace Microsoft.Reporting.WebForms