Share via


SPContentDatabase.AddSitesToUserSyncQueue method

Adds site collections to the queue of site collections where user information needs to be synchronized.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Sub AddSitesToUserSyncQueue ( _
    forceSync As Boolean, _
    siteIds As List(Of Guid) _
)
'Usage
Dim instance As SPContentDatabase
Dim forceSync As Boolean
Dim siteIds As List(Of Guid)

instance.AddSitesToUserSyncQueue(forceSync, _
    siteIds)
public void AddSitesToUserSyncQueue(
    bool forceSync,
    List<Guid> siteIds
)

Parameters

  • forceSync
    Type: System.Boolean

    true to force a synchronization; otherwise false.

See also

Reference

SPContentDatabase class

SPContentDatabase members

Microsoft.SharePoint.Administration namespace