Partilhar via


SPList.Audit Property

Gets the audit log that is associated with the list.

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

Syntax

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

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

Property Value

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

See Also

Reference

SPList Class

SPList Members

Microsoft.SharePoint Namespace