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

'Declaration
Public ReadOnly Property Audit As SPAudit
    Get
'Usage
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