Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

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

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

[SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.PerSpec)]
public void InsertAlertEvent(
	Guid key,
	string eventData,
	int eventType,
	byte[] acl
)

Parameters

key
Type: System.Guid

A System.Guid that represents the prematching identifier.

eventData
Type: System.String

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

eventType
Type: System.Int32

A 32-bit integer that specifies the event type.

acl
Type: []

A byte array that contains the ACL.

The InsertAlertEvent method requires minimum author privileges to execute.

Show:
© 2015 Microsoft