Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Sets the item event property to disable version trimming.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Sub SetDoNotTrimVersions
'Usage
Dim instance As SPItemEventProperties
instance.SetDoNotTrimVersions()
public void SetDoNotTrimVersions()
Remarks
This operation applies only to the ItemUpdating event and will otherwise throw an InvalidOperationException exception.