EventReceiverUtility.RunItemEventReceiverProps method

Namespace:  Microsoft.Office.Server.Utilities
Assembly:  Microsoft.Office.Server (in Microsoft.Office.Server.dll)

Syntax

'Declaration
Public Shared Function RunItemEventReceiverProps ( _
    eventReceiverName As String, _
    properties As SPItemEventProperties, _
    codeToRun As EventReceiverUtility.ItemEventReceiverCodeToRunProps _
) As Boolean
'Usage
Dim eventReceiverName As String
Dim properties As SPItemEventProperties
Dim codeToRun As EventReceiverUtility.ItemEventReceiverCodeToRunProps
Dim returnValue As Boolean

returnValue = EventReceiverUtility.RunItemEventReceiverProps(eventReceiverName, _
    properties, codeToRun)
public static bool RunItemEventReceiverProps(
    string eventReceiverName,
    SPItemEventProperties properties,
    EventReceiverUtility.ItemEventReceiverCodeToRunProps codeToRun
)

Parameters

Return value

Type: System.Boolean

See also

Reference

EventReceiverUtility class

EventReceiverUtility members

Microsoft.Office.Server.Utilities namespace