Partager via


SPUtility.SetEventReceiverToSynchronous - Méthode

La valeur tous les enregistrements du récepteur d'événements donné synchrone.

Espace de noms :  Microsoft.SharePoint.Utilities
Assembly :  Microsoft.SharePoint (dans Microsoft.SharePoint.dll)

Syntaxe

'Déclaration
Public Shared Sub SetEventReceiverToSynchronous ( _
    site As SPSite, _
    eventReceiverAssembly As String, _
    eventReceiverClass As String, _
    eventReceiverType As SPEventReceiverType _
)
'Utilisation
Dim site As SPSite
Dim eventReceiverAssembly As String
Dim eventReceiverClass As String
Dim eventReceiverType As SPEventReceiverTypeSPUtility.SetEventReceiverToSynchronous(site, _
    eventReceiverAssembly, eventReceiverClass, _
    eventReceiverType)
public static void SetEventReceiverToSynchronous(
    SPSite site,
    string eventReceiverAssembly,
    string eventReceiverClass,
    SPEventReceiverType eventReceiverType
)

Paramètres

Voir aussi

Référence

SPUtility classe

SPUtility - Membres

Microsoft.SharePoint.Utilities - Espace de noms