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
)
參數
eventName
Type: System.String事件名稱。
eventSource
Type: System.String呼叫的應用程式的名稱。
xmlData
Type: System.String事件的相關資訊。
傳回值
Type: System.Boolean
true如果成功 ; 記錄事件否則, false。