SPWeb.InsertAlertEvent 方法 (Guid, String, Int32, SPReusableAcl)

Inserts an event in the events table for the specified custom prematching GUID, event data, event type, and reusable access control list (ACL).

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

语法

声明
Public Sub InsertAlertEvent ( _
    key As Guid, _
    eventData As String, _
    eventType As Integer, _
    reusableAcl As SPReusableAcl _
)
用法
Dim instance As SPWeb
Dim key As Guid
Dim eventData As String
Dim eventType As Integer
Dim reusableAcl As SPReusableAcl

instance.InsertAlertEvent(key, eventData, _
    eventType, reusableAcl)
public void InsertAlertEvent(
    Guid key,
    string eventData,
    int eventType,
    SPReusableAcl reusableAcl
)

参数

  • key
    类型:System.Guid

    A System.Guid that represents the prematching identifier.

  • eventData
    类型:System.String

    A Collaborative Application Markup Language (CAML) string that contains the event data.

  • eventType
    类型:System.Int32

    A 32-bit integer that specifies the event type.

备注

The InsertAlertEvent method requires minimum author privileges to execute.

另请参阅

引用

SPWeb 类

SPWeb 成员

InsertAlertEvent 重载

Microsoft.SharePoint 命名空间