Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Inserts an event in the events table for the specified custom prematching GUID, event data, event type, and access control list (ACL).
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
<SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.PerSpec)> _
Public Sub InsertAlertEvent ( _
key As Guid, _
eventData As String, _
eventType As Integer, _
acl As Byte() _
)
'Usage
Dim instance As SPWeb
Dim key As Guid
Dim eventData As String
Dim eventType As Integer
Dim acl As Byte()
instance.InsertAlertEvent(key, eventData, _
eventType, acl)
[SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.PerSpec)]
public void InsertAlertEvent(
Guid key,
string eventData,
int eventType,
byte[] acl
)
Parameters
key
Type: System.GuidA System.Guid that represents the prematching identifier.
eventData
Type: System.StringA Collaborative Application Markup Language (CAML) string that contains the event data.
eventType
Type: System.Int32A 32-bit integer that specifies the event type.
acl
Type: []A byte array that contains the ACL.
Remarks
The InsertAlertEvent method requires minimum author privileges to execute.