AdminEventReceiver.OnAdSyncERPSynchronizing - Méthode
Un gestionnaire de pré-événement local pour le Admin – l'événement AdSyncERPSynchronizing , qui se produit avant que la liste des ressources d'entreprise est synchronisée avec les données de services Active Directory.
Espace de noms : Microsoft.Office.Project.Server.Events
Assembly : Microsoft.Office.Project.Server.Events.Receivers (dans Microsoft.Office.Project.Server.Events.Receivers.dll)
Syntaxe
'Déclaration
Public Overridable Sub OnAdSyncERPSynchronizing ( _
contextInfo As PSContextInfo, _
e As AdSyncERPSynchronizingEventArgs _
)
'Utilisation
Dim instance As AdminEventReceiver
Dim contextInfo As PSContextInfo
Dim e As AdSyncERPSynchronizingEventArgs
instance.OnAdSyncERPSynchronizing(contextInfo, _
e)
public virtual void OnAdSyncERPSynchronizing(
PSContextInfo contextInfo,
AdSyncERPSynchronizingEventArgs e
)
Paramètres
contextInfo
Type : Microsoft.Office.Project.Server.Library.PSContextInfoContient les informations de contexte de Project Server.
e
Type : Microsoft.Office.Project.Server.Events.AdSyncERPSynchronizingEventArgsLes données pour l'événement.
Remarques
La méthode SetActiveDirectorySyncEnterpriseResourcePoolSettings déclenche l'événement AdSyncERPSynchronizing .