AdminEventReceiver.OnAdSyncERPSynchronizing method
A local pre-event handler 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 Sub OnAdSyncERPSynchronizing ( _
contextInfo As PSContextInfo, _
e As AdSyncERPSynchronizingEventArgs _
)
'Usage
Dim instance As AdminEventReceiver
Dim contextInfo As PSContextInfo
Dim e As AdSyncERPSynchronizingEventArgs
instance.OnAdSyncERPSynchronizing(contextInfo, _
e)
public virtual void OnAdSyncERPSynchronizing(
PSContextInfo contextInfo,
AdSyncERPSynchronizingEventArgs e
)
Parameters
contextInfo
Type: Microsoft.Office.Project.Server.Library.PSContextInfoContains the Project Server context information.
e
Type: Microsoft.Office.Project.Server.Events.AdSyncERPSynchronizingEventArgsThe data for the event.
Remarks
The SetActiveDirectorySyncEnterpriseResourcePoolSettings method triggers the AdSyncERPSynchronizing event.