AdminEventReceiver.OnAdSyncGroupSynchronizingRemote method
A remote pre-event receiver for the Admin – AdSyncGroupSynchronized event, which occurs before Project Server synchronizes a specified Active Directory group in Project Web App.
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 OnAdSyncGroupSynchronizingRemote ( _
contextInfo As PSContextInfo, _
eventHandlerUid As Guid, _
e As AdSyncGroupSynchronizingEventArgs _
) As AdSyncGroupSynchronizingEventArgs
'Usage
Dim instance As AdminEventReceiver
Dim contextInfo As PSContextInfo
Dim eventHandlerUid As Guid
Dim e As AdSyncGroupSynchronizingEventArgs
Dim returnValue As AdSyncGroupSynchronizingEventArgs
returnValue = instance.OnAdSyncGroupSynchronizingRemote(contextInfo, _
eventHandlerUid, e)
public virtual AdSyncGroupSynchronizingEventArgs OnAdSyncGroupSynchronizingRemote(
PSContextInfo contextInfo,
Guid eventHandlerUid,
AdSyncGroupSynchronizingEventArgs 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.AdSyncGroupSynchronizingEventArgsThe data for the event.
Return value
Type: Microsoft.Office.Project.Server.Events.AdSyncGroupSynchronizingEventArgs
The SetActiveDirectorySyncGroupSettings method triggers the AdSyncGroupSynchronizing event. The CSOM in Project Server 2013 does not include an equivalent Admin method.