InsertAlertEvent Method (Guid, String, Int32, Byte[])
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer

SPWeb.InsertAlertEvent Method (Guid, String, Int32, Byte[])

Windows SharePoint Services 3

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)

public void InsertAlertEvent(
	Guid key,
	string eventData,
	int eventType,
	byte[] acl


Type: System.Guid
A System.Guid that represents the prematching identifier.
Type: System.String
A Collaborative Application Markup Language (CAML) string that contains the event data.
Type: System.Int32
A 32-bit integer that specifies the event type.
Type: []
A byte array that contains the ACL.

The InsertAlertEvent method requires minimum author privileges to execute.

© 2015 Microsoft