SP.FileVersionCollection.deleteByLabel(versionlabel) Method
Applies to: SharePoint Foundation 2010
Deletes the file version object with the specified version label.
SP.FileVersionCollection.deleteByLabel(versionlabel);
Parameters
versionlabel
Type: String
Specifies the version label.
Exceptions
The versionlabel value is in the wrong format.
Remarks
The value of versionlabel parameter should be value of the SP.FileVersion.versionLabel Property for an SP.FileVersion Class object.
Applies To
SP.FileVersionCollection Class
See Also
Reference
SP.FileVersionCollection Methods