WSSProfileSynch 类

在每个站点上, Microsoft SharePoint Foundation用户信息列表中的用户配置文件数据的同步和SharePoint Foundation成员在用户的配置文件成员身份的组成员身份的同步处理。不要使用此类直接从您的代码 ;相反,使用 stsadm.exe。

继承层次结构

System.Object
  Microsoft.Office.Server.UserProfiles.WSSProfileSynch

命名空间:  Microsoft.Office.Server.UserProfiles
程序集:  Microsoft.Office.Server.UserProfiles(位于 Microsoft.Office.Server.UserProfiles.dll 中)

语法

声明
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public NotInheritable Class WSSProfileSynch
用法
您无需声明静态类的实例,即可访问其成员。
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public static class WSSProfileSynch

备注

人同步是双向的。在向上方向, SharePoint Foundation网站集的成员资格列表将被拉入SharePoint Server用户配置文件数据库通知SharePoint Server有关哪些用户是哪个站点的成员,并允许增量同步。在向下的方向, SharePoint Server用户配置文件数据库发送关闭网站集合中的所有成员可同步复制的用户配置文件信息。

有关增量备份或完整的用户配置文件同步的详细信息,请参阅Person Synchronization with Window SharePoint Services

您必须将作业定义与服务或 Web 应用程序关联。您还可以与具体的服务器关联的作业定义。有关作业定义的详细信息,请参阅Microsoft SharePoint 基础 2010 SDK中的Microsoft.SharePoint.Administration.SPJobDefinition类。

线程安全性

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

另请参阅

引用

WSSProfileSynch 成员

Microsoft.Office.Server.UserProfiles 命名空间