WSSSweepSynch Class

SharePoint 2007

Handles the incremental synchronization of user profile data in the Windows SharePoint Services user information list on each site. Do not use this class directly from your code; instead, use stsadm.exe.

Namespace:  Microsoft.Office.Server.UserProfiles
Assembly:  Microsoft.Office.Server (in Microsoft.Office.Server.dll)

[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public class WSSSweepSynch : SPJobDefinition

This incremental synchronization is intended to be quick and does not require a lot of processing resource. Therefore, it runs more frequently than the full synchronization that the WSSProfileSynch class handles.

Person synchronization is bidirectional. In the up direction, the Windows SharePoint Services site collection membership list is pulled into the Office SharePoint Server 2007 user profile database to inform Office SharePoint Server 2007 about which users are members of which sites, and allow incremental synchronization. In the down direction, the Office SharePoint Server 2007 user profile database sends down replicable user profile information for all members in the site collection.

For more information about incremental or full user profile synchronization, see Person Synchronization with Windows SharePoint Services.

You must associate job definitions with a service or Web application. A job definition can also be associated with a specific server. For more information about job definitions, see the Microsoft.SharePoint.Administration.SPJobDefinition class in the Welcome to the Windows SharePoint Services 3.0 SDK.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.