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)

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