WSSSweepSynch Class

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.

Inheritance Hierarchy

System.Object
  Microsoft.SharePoint.Administration.SPAutoSerializingObject
    Microsoft.SharePoint.Administration.SPPersistedObject
      Microsoft.SharePoint.Administration.SPJobDefinition
        Microsoft.Office.Server.UserProfiles.WSSSweepSynch

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

Syntax

'Declaration
<GuidAttribute("7B6182E5-C6DB-4076-9349-75FD41E02844")> _
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
Public Class WSSSweepSynch _
    Inherits SPJobDefinition
'Usage
Dim instance As WSSSweepSynch
[GuidAttribute("7B6182E5-C6DB-4076-9349-75FD41E02844")]
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public class WSSSweepSynch : SPJobDefinition

Remarks

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.

Thread Safety

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

See Also

Reference

WSSSweepSynch Members

Microsoft.Office.Server.UserProfiles Namespace