Share via


SPSite.Audit Property

Gets an audit store that is attached to the site collection.

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

Syntax

Public ReadOnly Property Audit As SPAudit
    Get

Dim instance As SPSite
Dim value As SPAudit

value = instance.Audit
public SPAudit Audit { get; }

Property Value

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

See Also

Reference

SPSite Class

SPSite Members

Microsoft.SharePoint Namespace