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)
Available in Sandboxed Solutions: No

Syntax

'Declaration
<SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.PerSpec)> _
Public ReadOnly Property Audit As SPAudit
    Get
'Usage
Dim instance As SPSite
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 store.

See Also

Reference

SPSite Class

SPSite Members

Microsoft.SharePoint Namespace