Compartilhar via


SPUtility.SetEventReceiverToSynchronous method

Defina todos os registros do receptor de evento determinado como síncrona.

Namespace:  Microsoft.SharePoint.Utilities
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaração
Public Shared Sub SetEventReceiverToSynchronous ( _
    site As SPSite, _
    eventReceiverAssembly As String, _
    eventReceiverClass As String, _
    eventReceiverType As SPEventReceiverType _
)
'Uso
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
)

Parâmetros

Ver também

Referência

SPUtility class

SPUtility members

Microsoft.SharePoint.Utilities namespace