写入审核历史记录中的 SharePoint 数据库不受限制的数据量。
命名空间: Microsoft.SharePoint
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
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
类型:System.String事件的名称。
eventSource
类型:System.String调用应用程序的名称。
xmlData
类型:System.String有关事件的信息。
返回值
类型:System.Boolean
true如果成功,则记录该事件否则为false。