Share via


SPWeb.Audit Property

Gets the audit log that is associated with the Web site.

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

Syntax

Public ReadOnly Property Audit As SPAudit
    Get

Dim instance As SPWeb
Dim value As SPAudit

value = instance.Audit
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