AdminEventReceiver.OnAdSyncERPSynchronizingRemote method
A remote pre-event receiver for the Admin – AdSyncERPSynchronizing event, which occurs before the enterprise resource pool is synchronized with Active Directory services data.
Namespace: Microsoft.Office.Project.Server.Events
Assembly: Microsoft.Office.Project.Server.Events.Receivers (in Microsoft.Office.Project.Server.Events.Receivers.dll)
Syntax
'Declaration
Public Overridable Function OnAdSyncERPSynchronizingRemote ( _
contextInfo As PSContextInfo, _
eventHandlerUid As Guid, _
e As AdSyncERPSynchronizingEventArgs _
) As AdSyncERPSynchronizingEventArgs
'Usage
Dim instance As AdminEventReceiver
Dim contextInfo As PSContextInfo
Dim eventHandlerUid As Guid
Dim e As AdSyncERPSynchronizingEventArgs
Dim returnValue As AdSyncERPSynchronizingEventArgs
returnValue = instance.OnAdSyncERPSynchronizingRemote(contextInfo, _
eventHandlerUid, e)
public virtual AdSyncERPSynchronizingEventArgs OnAdSyncERPSynchronizingRemote(
PSContextInfo contextInfo,
Guid eventHandlerUid,
AdSyncERPSynchronizingEventArgs e
)
Parameters
contextInfo
Type: Microsoft.Office.Project.Server.Library.PSContextInfoContains the Project Server context information.
eventHandlerUid
Type: System.GuidThe GUID of the remote event receiver.
e
Type: Microsoft.Office.Project.Server.Events.AdSyncERPSynchronizingEventArgsThe data for the event.
Return value
Type: Microsoft.Office.Project.Server.Events.AdSyncERPSynchronizingEventArgs
Implements
Remarks
The SetActiveDirectorySyncEnterpriseResourcePoolSettings2 method triggers the AdSyncERPSynchronized event. The CSOM in Project Server 2013 does not include an equivalent Admin method.