Share via


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

  • eventHandlerUid
    Type: System.Guid

    The GUID of the remote event receiver.

Return value

Type: Microsoft.Office.Project.Server.Events.AdSyncERPSynchronizingEventArgs

Implements

IAdminEventReceiverRemote.OnAdSyncERPSynchronizingRemote(PSContextInfo, Guid, AdSyncERPSynchronizingEventArgs)

Remarks

The SetActiveDirectorySyncEnterpriseResourcePoolSettings2 method triggers the AdSyncERPSynchronized event. The CSOM in Project Server 2013 does not include an equivalent Admin method.

See also

Reference

AdminEventReceiver class

AdminEventReceiver members

Microsoft.Office.Project.Server.Events namespace