Share via


CookieCredentials Constructor (CookieCollection)

Initializes a new instance of the CookieCredentials class with the specified authentication cookies.

Namespace:  Microsoft.Office.Server.Search.Federation
Assembly:  Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)

Syntax

'Declaration
Public Sub New ( _
    cookies As CookieCollection _
)
'Usage
Dim cookies As CookieCollection

Dim instance As New CookieCredentials(cookies)
public CookieCredentials(
    CookieCollection cookies
)

Parameters

  • cookies
    Type: System.Net.CookieCollection
    A System.Net.CookieCollection object that contains the collection of authentication cookies for the connection to the federated location.

See Also

Reference

CookieCredentials Class

CookieCredentials Members

CookieCredentials Overload

Microsoft.Office.Server.Search.Federation Namespace

CookieAuthdata

FormsCredentials

Other Resources

Federated Search Overview

Custom Federated Search Web Part Sample