Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

SPItemEventProperties.SetDoNotTrimVersions method

SharePoint 2013

Sets the item event property to disable version trimming.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

public void SetDoNotTrimVersions()

This operation applies only to the ItemUpdating event and will otherwise throw an InvalidOperationException exception.

© 2015 Microsoft