Share via


SPAuditQuery members

Defines a query of the audit entries of the SharePoint database.

The SPAuditQuery type exposes the following members.

Constructors

  Name Description
Public method SPAuditQuery Initializes a new instance of the SPAuditQuery class.

Top

Properties

  Name Description
Public property HasMoreItems Gets a Boolean value that indicates whether the count of rows exceeds the maximum number of rows that can be obtained from an audit query.
Public property RowLimit Gets or sets the maximum number of rows of data that can be obtained from an audit query.

Top

Methods

  Name Description
Public method AddEventRestriction Restricts the query to the specified type of event and other event types that were specified with other calls to this method.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method RestrictToList Restricts the query to events relevant to the specified list.
Public method RestrictToListItem Restricts the query to events that are relevant to the specified list item.
Public method RestrictToUser Restricts the query to events relevant to the specified user.
Public method SetRangeEnd Sets, in conjunction with SetRangeStart, the range of time to which the query applies.
Public method SetRangeStart Sets, in conjunction with SetRangeEnd, the range of time to which the query applies.
Public method ToString (Inherited from Object.)

Top

See also

Reference

SPAuditQuery class

Microsoft.SharePoint namespace