FormsAuthCredentials 类 (Microsoft.Office.Server.Search.Administration)
Represents an object that contains the forms authentication credentials for connecting to federated search locations.
命名空间: Microsoft.Office.Server.Search.Administration
程序集: Microsoft.Office.Server.Search (在 microsoft.office.server.search.dll 中)
语法
声明
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel:=True)> _
Public NotInheritable Class FormsAuthCredentials
Inherits SecurableAuthData
用法
Dim instance As FormsAuthCredentials
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel=true)]
public sealed class FormsAuthCredentials : SecurableAuthData
备注
There are two classes that you can use to represent forms authentication data for federated search locations:
FormsAuthCredentials: Use this class when you programmatically configure federated locations.
FormsCredentials: Use this class in custom federated results Web Parts, when specifying credentials for federated locations that are configured for per user cookie-based authentication. For more information, see 创建一个带有凭据 UI 的自定义联合搜索 Web 部件.
继承层次结构
System.Object
Microsoft.Office.Server.Search.Administration.AuthenticationData
Microsoft.Office.Server.Search.Administration.SecurableAuthData
Microsoft.Office.Server.Search.Administration.FormsAuthCredentials
线程安全性
此类型的任何公共静态(在 Visual Basic 中共享)成员是线程安全的。不保证任何实例成员都是线程安全的。
另请参阅
参考
FormsAuthCredentials 成员
Microsoft.Office.Server.Search.Administration 命名空间