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:
CookieAuthdata Use this class when you programmatically configure federated locations.
CookieCredentials Use this class in custom federated results Web Parts, when specifying credentials for federated locations configured for per user cookie-based authentication. For more information, see 创建一个带有凭据 UI 的自定义联合搜索 Web 部件 .
继承层次结构
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