共用方式為


SPAudit.WriteAuditEventUnlimitedData method (String, String, String)

將不受限制的磁碟區的資料寫入至 SharePoint 資料庫中的稽核記錄。

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'宣告
Public Function WriteAuditEventUnlimitedData ( _
    eventName As String, _
    eventSource As String, _
    xmlData As String _
) As Boolean
'用途
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
)

參數

  • eventSource
    Type: System.String

    呼叫的應用程式的名稱。

傳回值

Type: System.Boolean
true如果成功 ; 記錄事件否則, false。

請參閱

參照

SPAudit class

SPAudit members

WriteAuditEventUnlimitedData overload

Microsoft.SharePoint namespace