EventReceiverUtility.RunItemEventReceiverProps 方法

命名空间:  Microsoft.Office.Server.Utilities
程序集:  Microsoft.Office.Server(位于 Microsoft.Office.Server.dll 中)

语法

声明
Public Shared Function RunItemEventReceiverProps ( _
    eventReceiverName As String, _
    properties As SPItemEventProperties, _
    codeToRun As EventReceiverUtility.ItemEventReceiverCodeToRunProps _
) As Boolean
用法
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
)

参数

返回值

类型:System.Boolean

另请参阅

引用

EventReceiverUtility 类

EventReceiverUtility 成员

Microsoft.Office.Server.Utilities 命名空间