Click or drag to resize
SharePointLibraryInfoProviderSynchronizeSharePointLibraryInternal Method
Schedules the SharePoint library synchronization for an immediate run and returns. Use GetSharePointLibrarySynchronizationState(SharePointLibraryInfo) to see whether the synchronization is in the scheduler's queue (NextRunTime is from the past), is running (IsRunning is set), or will be run (NextRunTime is in the future).

Namespace: CMS.SharePoint
Assembly: CMS.SharePoint (in CMS.SharePoint.dll) Version: 8.2.23
Syntax
C#
protected virtual void SynchronizeSharePointLibraryInternal(
	SharePointLibraryInfo libraryInfo
)

Parameters

libraryInfo
Type: CMS.SharePointSharePointLibraryInfo
SharePoint library to be synchronized immediately.
Exceptions
ExceptionCondition
ArgumentNullExceptionThrown when libraryInfo is null.
InvalidOperationExceptionThrown when the library can not be scheduled for synchronization (the scheduler's task is missing).
See Also