SPAudit members
Include protected members
Include inherited members
啟用稽核的方式網站集合、 網站、 清單、 資料夾及清單項目會存取、 變更,和使用。
The SPAudit type exposes the following members.
Properties
Top
Methods
![Public method Public method](images/ff458456.pubmethod(office.15).gif) |
DeleteEntries |
刪除從 SharePoint 資料庫發生在指定的日期和時間之前的所有稽核事件。 |
![Public method Public method](images/ff458456.pubmethod(office.15).gif) |
Equals |
(Inherited from Object.) |
![Protected method Protected method](images/ms564022.protmethod(office.15).gif) |
Finalize |
(Inherited from Object.) |
![Public method Public method](images/ff458456.pubmethod(office.15).gif) |
GetEntries() |
取得SPAuditEntry物件的集合,從儲存在 SharePoint 資料庫中,完全不知道日期、 使用者或事件類型的受限制的稽核資料。 |
![Public method Public method](images/ff458456.pubmethod(office.15).gif) |
GetEntries(SPAuditQuery) |
稽核資料儲存在 SharePoint 資料庫中符合指定的查詢中取得SPAuditEntry物件的集合。 |
![Public method Public method](images/ff458456.pubmethod(office.15).gif) |
GetHashCode |
(Inherited from Object.) |
![Public method Public method](images/ff458456.pubmethod(office.15).gif) |
GetType |
(Inherited from Object.) |
![Protected method Protected method](images/ms564022.protmethod(office.15).gif) |
MemberwiseClone |
(Inherited from Object.) |
![Public method Public method](images/ff458456.pubmethod(office.15).gif) |
ToString |
(Inherited from Object.) |
![Public method Public method](images/ff458456.pubmethod(office.15).gif) |
TrimAuditLog |
會修剪指定站台的稽核記錄檔資料。 |
![Public method Public method](images/ff458456.pubmethod(office.15).gif) |
Update |
使用AuditFlags屬性的變更更新的 SharePoint 資料庫 |
![Public method Public method](images/ff458456.pubmethod(office.15).gif) |
WriteAuditEvent(String, String, String) |
將記錄寫入事件的相關 SharePoint 資料庫。 |
![Public method Public method](images/ff458456.pubmethod(office.15).gif) |
WriteAuditEvent(SPAuditEventType, String, String) |
將記錄寫入事件的相關 SharePoint 資料庫。 |
![Public method Public method](images/ff458456.pubmethod(office.15).gif) |
WriteAuditEvent(String, String, Int32, String) |
寫入稽核項目,以自訂的使用者識別碼。 |
![Public method Public method](images/ff458456.pubmethod(office.15).gif) ![Static member Static member](images/ms564022.static(office.15).gif) |
WriteAuditEvent(SPWeb, String, SPAuditItemType, SPAuditEventType, String, String, String) |
將不受限制的磁碟區的資料寫入至 SharePoint 資料庫中的稽核記錄。 |
![Public method Public method](images/ff458456.pubmethod(office.15).gif) |
WriteAuditEventUnlimitedData(String, String, String) |
將不受限制的磁碟區的資料寫入至 SharePoint 資料庫中的稽核記錄。 |
![Public method Public method](images/ff458456.pubmethod(office.15).gif) |
WriteAuditEventUnlimitedData(SPAuditEventType, String, String) |
將不受限制的磁碟區的資料寫入至 SharePoint 資料庫中的稽核記錄。 |
Top
請參閱
參照
SPAudit class
Microsoft.SharePoint namespace