CookieCredentials 构造函数 (Cookie) (Microsoft.Office.Server.Search.Federation)

Initializes a new instance of the CookieCredentials class that contains the specified authentication cookie.

命名空间: Microsoft.Office.Server.Search.Federation
程序集: Microsoft.Office.Server.Search (在 microsoft.office.server.search.dll 中)

语法

声明
Public Sub New ( _
    cookie As Cookie _
)
用法
Dim cookie As Cookie

Dim instance As New CookieCredentials(cookie)
public CookieCredentials (
    Cookie cookie
)

参数

  • cookie
    A System.Net.Cookie object that represents the authentication cookie for the connection to the federated location.

另请参阅

参考

CookieCredentials 类
CookieCredentials 成员
Microsoft.Office.Server.Search.Federation 命名空间
CookieAuthdata
FormsCredentials

其他资源

联合搜索概述
自定义联合搜索 Web 部件示例