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.Booleantrue to force a synchronization; otherwise false.
siteIds
Type: System.Collections.Generic.List<Guid>The GUID of the site collection.