CookieCredentials 类 (Microsoft.Office.Server.Search.Federation)

Represents an object that contains the credentials used to connect to federated search locations that are configured to use cookie-based authentication.

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

语法

声明
Public Class CookieCredentials
    Inherits NetworkCredential
用法
Dim instance As CookieCredentials
public class CookieCredentials : NetworkCredential

备注

You can use two classes to represent cookie-based authentication data for federated search locations:

继承层次结构

System.Object
   System.Net.NetworkCredential
    Microsoft.Office.Server.Search.Federation.CookieCredentials
       Microsoft.Office.Server.Search.Federation.FormsCredentials

线程安全性

此类型的任何公共静态( Visual Basic 中共享)成员是线程安全的。不保证任何实例成员都是线程安全的。

另请参阅

参考

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

其他资源

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