SPWeb.Audit Property

Gets the audit log that is associated with the website.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
<SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.PerSpec)> _
Public ReadOnly Property Audit As SPAudit
    Get
'Usage
Dim instance As SPWeb
Dim value As SPAudit

value = instance.Audit
[SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.PerSpec)]
public SPAudit Audit { get; }

Property Value

Type: Microsoft.SharePoint.SPAudit
An SPAudit object that represents the audit log.

See Also

Reference

SPWeb Class

SPWeb Members

Microsoft.SharePoint Namespace