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
)
参数
- eventReceiverName
类型:System.String
- properties
类型:Microsoft.SharePoint.SPItemEventProperties