EventReceiverUtility.RunAndHandleVersionConflicts 方法 (SPListEventProperties, EventReceiverUtility.ListEventReceiverCodeToRun)
运行代码并管理版本冲突。
命名空间: Microsoft.Office.Server.Utilities
程序集: Microsoft.Office.Server(位于 Microsoft.Office.Server.dll 中)
语法
声明
Public Shared Sub RunAndHandleVersionConflicts ( _
properties As SPListEventProperties, _
codeToRun As EventReceiverUtility.ListEventReceiverCodeToRun _
)
用法
Dim properties As SPListEventProperties
Dim codeToRun As EventReceiverUtility.ListEventReceiverCodeToRunEventReceiverUtility.RunAndHandleVersionConflicts(properties, _
codeToRun)
public static void RunAndHandleVersionConflicts(
SPListEventProperties properties,
EventReceiverUtility.ListEventReceiverCodeToRun codeToRun
)
参数
properties
类型:Microsoft.SharePoint.SPListEventPropertiesSPListEventProperties.
codeToRun
类型:Microsoft.Office.Server.Utilities.EventReceiverUtility.ListEventReceiverCodeToRun若要运行的代码由列表的事件接收器。