SPAudit.WriteAuditEventUnlimitedData Method (String, String, String)

Writes an unrestricted volume of data to the audit history in the SharePoint database.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public Function WriteAuditEventUnlimitedData ( _
    eventName As String, _
    eventSource As String, _
    xmlData As String _
) As Boolean
'Usage
Dim instance As SPAudit
Dim eventName As String
Dim eventSource As String
Dim xmlData As String
Dim returnValue As Boolean

returnValue = instance.WriteAuditEventUnlimitedData(eventName, _
    eventSource, xmlData)
public bool WriteAuditEventUnlimitedData(
    string eventName,
    string eventSource,
    string xmlData
)

Parameters

  • eventSource
    Type: System.String

    The name of the calling application.

Return Value

Type: System.Boolean
true if the event was recorded successfully; otherwise, false.

See Also

Reference

SPAudit Class

SPAudit Members

WriteAuditEventUnlimitedData Overload

Microsoft.SharePoint Namespace