다음을 통해 공유


SPUtility.SetEventReceiverToSynchronous Method

Namespace:  Microsoft.SharePoint.Utilities
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Available in SharePoint Online

Syntax

'Declaration
<SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.PerSpec)> _
Public Shared Sub SetEventReceiverToSynchronous ( _
    site As SPSite, _
    eventReceiverAssembly As String, _
    eventReceiverClass As String, _
    eventReceiverType As SPEventReceiverType _
)
'Usage
Dim site As SPSite
Dim eventReceiverAssembly As String
Dim eventReceiverClass As String
Dim eventReceiverType As SPEventReceiverTypeSPUtility.SetEventReceiverToSynchronous(site, _
    eventReceiverAssembly, eventReceiverClass, _
    eventReceiverType)
[SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.PerSpec)]
public static void SetEventReceiverToSynchronous(
    SPSite site,
    string eventReceiverAssembly,
    string eventReceiverClass,
    SPEventReceiverType eventReceiverType
)

Parameters

See Also

Reference

SPUtility Class

SPUtility Members

Microsoft.SharePoint.Utilities Namespace