Share via


SPListItem.Audit Property

Gets the audit log that is associated with the item.

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 SPListItem
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

SPListItem Class

SPListItem Members

Microsoft.SharePoint Namespace